// 文档 https://github.com/hooke007/MPV_lazy/wiki/4_GLSL

// MIT License

// Copyright (c) 2024 Joao Chrisostomo

// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:

// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.

// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

//!DESC [ArtCNN_Legacy_C4F16_YCbCr] (Doubling Chroma)
//!HOOK CHROMA
//!BIND CHROMA
//!WIDTH CHROMA.w 2.0 *
//!HEIGHT CHROMA.h 2.0 *
//!OFFSET ALIGN
//!WHEN OUTPUT.w CHROMA.w 2.400 * > OUTPUT.h CHROMA.h 2.400 * > *
vec4 hook() {
    return CHROMA_texOff(0.0);
}

//!DESC [ArtCNN_Legacy_C4F16_YCbCr] (Conv-0)
//!HOOK NATIVE
//!BIND NATIVE
//!SAVE conv2d_tf
//!WIDTH NATIVE.w
//!HEIGHT NATIVE.h
//!COMPONENTS 4
//!WHEN OUTPUT.w NATIVE.w 1.200 * > OUTPUT.h NATIVE.h 1.200 * > *
#define input_0(x_off, y_off) (NATIVE_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(-0.07953239, 0.06476323, -0.08198849, 0.14487241, -0.07723038, -0.13240436, 0.060770635, 0.006404814, 0.06610047, 0.060914602, 0.023723416, 0.024888009, 0.0, 0.0, 0.0, 0.0) * input_0(-1.0, -1.0);
    result += mat4(-0.07238791, -0.08529334, -0.056277197, 0.06632828, 0.043704767, -0.02157861, 0.066692956, -0.0126377, -0.030419353, -0.08697348, 0.105162285, -0.009767615, 0.0, 0.0, 0.0, 0.0) * input_0(-1.0, 0.0);
    result += mat4(-0.0447084, 0.15127432, -0.054123536, 0.017574705, -0.08070779, 0.17445728, -0.06014607, -0.14389032, 0.04220492, -0.070709705, 0.079678334, -0.06907379, 0.0, 0.0, 0.0, 0.0) * input_0(-1.0, 1.0);
    result += mat4(0.11798025, -0.07815318, 0.047485948, 0.04648756, -0.088055514, -0.06658082, 0.021922722, -0.16489562, -0.031212486, -0.06018584, 0.029130217, -0.14969282, 0.0, 0.0, 0.0, 0.0) * input_0(0.0, -1.0);
    result += mat4(0.2306461, -0.08057865, -0.35480738, 0.020962948, 0.034491923, 0.0723403, 0.15756664, 0.037694387, -0.04834683, -0.013853374, 0.11713025, -0.24400458, 0.0, 0.0, 0.0, 0.0) * input_0(0.0, 0.0);
    result += mat4(0.09214575, 0.1805846, 0.13021198, 0.05341207, -0.14543298, -0.04005521, 0.018110605, 0.008045238, 0.0033512393, -0.11763077, -0.037416488, -0.091994576, 0.0, 0.0, 0.0, 0.0) * input_0(0.0, 1.0);
    result += mat4(-0.18352513, 0.06478794, -0.011847941, -0.075684346, 0.073346645, -0.10195671, -0.005357027, 0.10202051, -0.09715637, 0.14465632, 0.07141169, 0.08331989, 0.0, 0.0, 0.0, 0.0) * input_0(1.0, -1.0);
    result += mat4(0.11857886, -0.11772222, -0.06524234, 0.09113856, 0.011926479, 0.013599367, -0.0056058792, -0.057238683, 0.0966165, 0.17850521, -0.0422451, -0.100181304, 0.0, 0.0, 0.0, 0.0) * input_0(1.0, 0.0);
    result += mat4(0.06627412, -0.087540485, 0.117830314, 0.047856215, 0.074751444, -0.08178796, 0.09398796, -0.076631434, -0.013087982, -0.098521344, -0.11946928, -0.0008004753, 0.0, 0.0, 0.0, 0.0) * input_0(1.0, 1.0);
    result += vec4(-0.045912154, 0.087099954, -0.018580364, 0.029032513);
    return result;
}

//!DESC [ArtCNN_Legacy_C4F16_YCbCr] (Conv-0)
//!HOOK NATIVE
//!BIND NATIVE
//!SAVE conv2d_tf1
//!WIDTH NATIVE.w
//!HEIGHT NATIVE.h
//!COMPONENTS 4
//!WHEN OUTPUT.w NATIVE.w 1.200 * > OUTPUT.h NATIVE.h 1.200 * > *
#define input_0(x_off, y_off) (NATIVE_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(-0.044910733, -0.0031453383, 0.040291674, 0.09055928, -0.029235855, -0.016697198, -0.022135224, -0.12876365, 0.02098932, -0.046407778, 0.08452306, 0.16782023, 0.0, 0.0, 0.0, 0.0) * input_0(-1.0, -1.0);
    result += mat4(-0.024764787, 0.01779013, -0.09413981, -0.04245015, 0.12553674, -0.18002918, 0.052129388, -0.14505622, 0.115398474, -0.086625606, -0.11614045, -0.13255574, 0.0, 0.0, 0.0, 0.0) * input_0(-1.0, 0.0);
    result += mat4(0.053123765, 0.0006651038, 0.10160233, -0.019439047, -0.15361437, -0.02618411, 0.09985932, -0.06492671, 0.10266583, -0.0017429217, -0.11608014, 0.11453673, 0.0, 0.0, 0.0, 0.0) * input_0(-1.0, 1.0);
    result += mat4(0.118466645, -0.1075639, 0.045003064, 0.08690849, 0.066539735, -0.19351831, -0.048329808, -0.15910971, 0.10550525, -0.010271203, 0.07512701, 0.21250458, 0.0, 0.0, 0.0, 0.0) * input_0(0.0, -1.0);
    result += mat4(-0.14096667, 0.23885848, 0.13354403, -0.07829241, 0.10816899, -0.15603833, 0.10098275, 0.07941524, 0.018967636, 0.1421997, 0.20171805, 0.09137456, 0.0, 0.0, 0.0, 0.0) * input_0(0.0, 0.0);
    result += mat4(-0.043825906, -0.0711799, 0.08411709, -0.16744682, 0.038237628, 0.090568274, 0.062902175, 0.024950635, 0.027906187, -0.0114321755, 0.14782242, 0.1763209, 0.0, 0.0, 0.0, 0.0) * input_0(0.0, 1.0);
    result += mat4(-0.092328176, 0.0574749, 0.09091186, -0.15127003, -0.1467134, -0.030354388, -0.018094396, 0.11172427, -0.121149234, -0.12941787, -0.09441425, 0.014127715, 0.0, 0.0, 0.0, 0.0) * input_0(1.0, -1.0);
    result += mat4(-0.15792511, 0.030207478, 0.044629645, -0.18376896, 0.11722668, -0.1291772, 0.0033076103, -0.081422165, 0.12832609, 0.029778885, -0.03821478, 0.1625669, 0.0, 0.0, 0.0, 0.0) * input_0(1.0, 0.0);
    result += mat4(0.010317523, 0.10034647, 0.04012212, 0.1253107, -0.082870185, 0.20574404, 0.07941076, -0.09180431, -0.09097191, 0.09628512, 0.08809706, -0.045353286, 0.0, 0.0, 0.0, 0.0) * input_0(1.0, 1.0);
    result += vec4(0.014777417, 0.009323836, -0.01929977, 0.0008446611);
    return result;
}

//!DESC [ArtCNN_Legacy_C4F16_YCbCr] (Conv-0)
//!HOOK NATIVE
//!BIND NATIVE
//!SAVE conv2d_tf2
//!WIDTH NATIVE.w
//!HEIGHT NATIVE.h
//!COMPONENTS 4
//!WHEN OUTPUT.w NATIVE.w 1.200 * > OUTPUT.h NATIVE.h 1.200 * > *
#define input_0(x_off, y_off) (NATIVE_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(0.10797225, 0.08688445, -0.075996704, -0.052321285, -0.065968476, -0.040717665, 0.15176767, 0.0008711987, -0.02031574, -0.07015694, 0.056871902, -0.07466884, 0.0, 0.0, 0.0, 0.0) * input_0(-1.0, -1.0);
    result += mat4(-0.13494618, 0.11231523, 0.07506609, -0.005284007, 0.14144562, -0.09622687, -0.15410732, 0.012996602, -0.032705277, 0.10477828, 0.058285832, 0.07221831, 0.0, 0.0, 0.0, 0.0) * input_0(-1.0, 0.0);
    result += mat4(0.12289422, -0.15016064, -0.10362679, -0.011887502, 0.025636286, 0.018903611, -0.017291691, 0.07809814, 0.008979501, -0.0101188645, -0.1159886, -0.011536676, 0.0, 0.0, 0.0, 0.0) * input_0(-1.0, 1.0);
    result += mat4(-0.0983083, 0.15633102, 0.13115212, -0.11698582, 0.12533705, -0.076416805, 0.021516355, 0.14538944, -0.059129614, -0.08978242, -0.16678618, 0.15200129, 0.0, 0.0, 0.0, 0.0) * input_0(0.0, -1.0);
    result += mat4(-0.01739513, 0.15613848, -0.02911703, 0.27005252, 0.1598786, -0.22281188, -0.08405141, 0.1827295, 0.022217248, 0.019752327, -0.06779708, 0.14699018, 0.0, 0.0, 0.0, 0.0) * input_0(0.0, 0.0);
    result += mat4(-0.22905529, -0.06716434, -0.017186472, 0.08478255, 0.20842612, 0.12995963, -0.16299151, 0.048198484, -0.022372326, 0.036731947, -0.0016280734, 0.090394214, 0.0, 0.0, 0.0, 0.0) * input_0(0.0, 1.0);
    result += mat4(-0.13355458, 0.04854302, 0.15413828, -0.13305011, 0.03084261, -0.08797826, 0.076286964, -0.11006455, 0.07791714, 0.12927411, 0.009450251, 0.08499173, 0.0, 0.0, 0.0, 0.0) * input_0(1.0, -1.0);
    result += mat4(0.012526621, 0.050326288, -0.0893088, -0.2149894, 0.024272887, -0.06925571, 0.09041339, -0.16825323, -0.15733661, 0.059324466, 0.07040697, -0.014073467, 0.0, 0.0, 0.0, 0.0) * input_0(1.0, 0.0);
    result += mat4(0.015218749, -0.007370049, -0.058115654, 0.040354773, 0.01800152, -0.0125090545, -0.03059109, -0.12018036, 0.09858228, -0.20973216, -0.030978456, -0.16589297, 0.0, 0.0, 0.0, 0.0) * input_0(1.0, 1.0);
    result += vec4(-0.038627457, -0.028420823, 0.03875909, -0.06086388);
    return result;
}

//!DESC [ArtCNN_Legacy_C4F16_YCbCr] (Conv-0)
//!HOOK NATIVE
//!BIND NATIVE
//!SAVE conv2d_tf3
//!WIDTH NATIVE.w
//!HEIGHT NATIVE.h
//!COMPONENTS 4
//!WHEN OUTPUT.w NATIVE.w 1.200 * > OUTPUT.h NATIVE.h 1.200 * > *
#define input_0(x_off, y_off) (NATIVE_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(-0.13130744, 0.12134069, -0.0338171, -0.12729655, 0.039527066, 0.005997412, 0.107612275, -0.020064898, -0.048628397, -0.010374595, 0.009567788, 0.066239886, 0.0, 0.0, 0.0, 0.0) * input_0(-1.0, -1.0);
    result += mat4(0.06647892, -0.05382865, -0.017306058, 0.01459217, 0.051039726, 0.2104515, 0.056682702, -0.008165041, 0.17232001, -0.17516835, 0.024812201, -0.0031115408, 0.0, 0.0, 0.0, 0.0) * input_0(-1.0, 0.0);
    result += mat4(0.022714304, 0.054922342, -0.057576846, 0.083597556, 0.060650736, 0.10651754, -0.18347043, 0.16203897, 0.032562036, 0.11920926, -0.020919573, -0.08077417, 0.0, 0.0, 0.0, 0.0) * input_0(-1.0, 1.0);
    result += mat4(0.06472242, 0.14966579, -0.123480186, -0.11682529, 0.021167524, 0.0003765841, -0.18479192, -0.010801397, -0.05964219, -0.13404793, -0.058449622, -0.06815074, 0.0, 0.0, 0.0, 0.0) * input_0(0.0, -1.0);
    result += mat4(0.058686387, -0.1430467, -0.04672797, 0.113768235, -0.27314883, -0.121446736, -0.22762, 0.16332884, 0.08293019, -0.045434512, -0.07953301, -0.03416445, 0.0, 0.0, 0.0, 0.0) * input_0(0.0, 0.0);
    result += mat4(0.016248716, 0.011231783, -0.005128135, -0.1651073, 0.047760796, 0.041642588, -0.1388264, -0.09144504, 0.09787181, 0.078435965, -0.03791716, -0.15538682, 0.0, 0.0, 0.0, 0.0) * input_0(0.0, 1.0);
    result += mat4(-0.052828766, -0.039755158, 0.004151622, 0.10399546, -0.020122549, -0.07085374, 0.028510103, 0.17013116, 0.102371104, 0.0029285809, -0.08501118, -0.012830203, 0.0, 0.0, 0.0, 0.0) * input_0(1.0, -1.0);
    result += mat4(-0.13145036, -0.060407154, -0.037738938, -0.17731057, -0.23180225, 0.12447702, 0.099265896, -0.10395906, 0.14824802, -0.10334928, 0.064805485, 0.057105012, 0.0, 0.0, 0.0, 0.0) * input_0(1.0, 0.0);
    result += mat4(0.07481372, -0.04086928, 0.027022956, -0.09042081, -0.11096665, 0.034671657, -0.033827666, -0.037117958, -0.1600542, -0.05712954, -0.038308185, 0.051938564, 0.0, 0.0, 0.0, 0.0) * input_0(1.0, 1.0);
    result += vec4(-0.015869323, 0.00264717, 0.024749756, 0.030228555);
    return result;
}

//!DESC [ArtCNN_Legacy_C4F16_YCbCr] (Conv-1-ReLU)
//!HOOK NATIVE
//!BIND conv2d_tf
//!BIND conv2d_tf1
//!BIND conv2d_tf2
//!BIND conv2d_tf3
//!SAVE conv2d_1_tf
//!WIDTH NATIVE.w
//!HEIGHT NATIVE.h
//!COMPONENTS 4
//!WHEN OUTPUT.w NATIVE.w 1.200 * > OUTPUT.h NATIVE.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(-0.031012986, -0.0009180184, -0.021445611, -0.0006963483, 0.056228053, -0.17543766, -0.006916912, 0.15122703, -0.16287988, -0.1238587, 0.19843666, -0.010174707, -0.118906215, -0.08829638, -0.021794394, 0.046121176) * input_0(-1.0, -1.0);
    result += mat4(-0.011909953, -0.15326832, 0.1481683, 0.071243055, 0.11520698, -0.105527654, 0.102103055, -0.086519495, -0.15332568, 0.013113456, 0.030478291, -0.019262152, -0.17670128, 0.015746254, 0.030454371, 0.01305702) * input_0(-1.0, 0.0);
    result += mat4(0.010103873, -0.09886912, -0.036969118, 0.011649018, -0.019024422, -0.01988251, -0.05483379, -0.04577056, -0.108463034, -0.000694732, -0.038751744, 0.055045098, -0.02818437, -0.008801109, -0.01718187, -0.00036133913) * input_0(-1.0, 1.0);
    result += mat4(-0.08164746, -0.046870515, -0.103956334, -0.15187499, -0.20152763, 0.012451609, -0.05109805, -0.0076368046, 0.12025992, 0.03284939, 0.11187079, 0.17061561, 0.020803215, -0.009609707, 0.15600827, -0.07785455) * input_0(0.0, -1.0);
    result += mat4(0.18819053, 0.064488865, -0.07584303, -0.02845588, -0.26861387, 0.20439176, -0.18725155, -0.09794769, 0.05768782, 0.06921724, -0.15129155, 0.035554018, -0.15131558, 0.086899474, 0.0625263, 0.035627834) * input_0(0.0, 0.0);
    result += mat4(-0.1407761, -0.03473597, -0.11323063, 0.061773457, -0.060501166, 0.0074904733, 0.065656714, 0.031079477, 0.0510253, -0.0024561728, -0.1234953, -0.15596707, -0.11265376, 0.014764467, -0.079103135, 0.028538834) * input_0(0.0, 1.0);
    result += mat4(-0.12663564, 0.017208965, -0.04623204, 0.12731174, -0.11666713, -0.027723799, -0.1965083, 0.11982712, -0.013643511, -0.039051723, -0.048827037, -0.05609021, 0.077263996, -0.097027406, 0.11569104, 0.11084905) * input_0(1.0, -1.0);
    result += mat4(-0.065290205, -0.04534389, -0.006441835, 0.0057142465, -0.034292363, 0.07650324, 0.25713742, 0.1589229, 0.108468026, 0.03520967, -0.34175402, -0.054293096, 0.1046487, 0.072029434, 0.14898597, -0.018580962) * input_0(1.0, 0.0);
    result += mat4(0.009236059, 0.097779356, -0.12577954, -0.028162949, 0.027813477, 0.019212801, 0.10014501, 0.019711418, 0.10188534, -0.04474726, -0.003218649, 0.05103173, 0.03598488, -0.018606408, -0.098040216, -0.13407665) * input_0(1.0, 1.0);
    result += mat4(-0.04491045, 0.17407845, -0.11926268, 0.20865606, 0.009290328, -0.07775969, 0.08491237, -0.103968695, -0.02168094, -0.08543474, -0.06456037, 0.00252351, 0.074246764, 0.04114736, -0.03945913, -0.14628725) * input_1(-1.0, -1.0);
    result += mat4(0.0587771, 0.00039854457, 0.01118448, 0.2334795, 0.0069659934, -0.08686879, -0.048131984, 0.1256538, -0.05085481, 0.020855257, 0.041800108, 0.02505737, 0.008864327, -0.14490114, 0.058659658, -0.19103116) * input_1(-1.0, 0.0);
    result += mat4(-0.03563521, -0.23321591, -0.062095407, -0.036525782, -0.056412127, 0.00093527476, -0.028405983, -0.02950519, -0.059308633, -0.089025356, 0.01692593, -0.020889184, 0.036773793, 0.050796766, 0.18872833, 0.09735595) * input_1(-1.0, 1.0);
    result += mat4(-0.0336909, 0.21450417, 0.080332346, -0.06863775, 0.19344798, 0.059927456, 0.14486694, -0.04435241, -0.16186966, -0.047758885, 0.106514804, -0.041932616, -0.015473915, -0.15462784, 0.08526319, 0.10353151) * input_1(0.0, -1.0);
    result += mat4(-0.0011406768, -0.024019614, 0.11469413, 0.3271766, -0.10310006, -0.2021612, -0.09314533, 0.06468156, 0.07988253, -0.0695224, 0.03951154, 0.0124243675, -0.18264316, 0.012182365, 0.016685082, 0.027417535) * input_1(0.0, 0.0);
    result += mat4(-0.12937132, 0.025855424, -0.03620662, 0.24060918, 0.05469036, 0.014821558, 0.0013726063, 0.0042681396, 0.07383641, -0.12530428, 0.07841728, -0.023465449, -0.08670557, -0.026364828, -0.16677451, -0.13282524) * input_1(0.0, 1.0);
    result += mat4(0.2013348, -0.114307135, 0.08852061, -0.035976265, -0.01888903, 0.10254258, -0.0018955817, 0.096560255, -0.1167809, -0.014486618, -0.0067484453, 0.025544569, 0.06145797, 0.099293776, 0.036527216, 0.0024646427) * input_1(1.0, -1.0);
    result += mat4(0.07578524, -0.017694889, 0.0009671162, 0.06539282, -0.05442677, 0.02875094, -0.16284874, 0.045902316, 0.034436885, 0.083584934, -0.070980914, 0.113237955, -0.060615916, -0.102954604, -0.2426167, 0.07395554) * input_1(1.0, 0.0);
    result += mat4(0.020428186, 0.011624142, 0.21086146, 0.029738454, -0.016042126, -0.0034330555, 0.0746609, 0.0673371, -0.13092181, 0.04259845, -0.045751236, -0.04127408, -0.040879358, 0.10775899, 0.12208371, -0.22272296) * input_1(1.0, 1.0);
    result += mat4(-0.010406296, 0.052875616, 0.091320544, -0.09554226, -0.15060888, 0.047264, -0.09742227, 0.15131249, 0.04758293, 0.011257457, 0.009159666, 0.05094622, -0.01680507, -0.048691526, -0.04151547, 0.012479633) * input_2(-1.0, -1.0);
    result += mat4(-0.02902729, -0.122716665, -0.006805077, -0.15171586, -0.037970934, -0.031891584, 0.081881866, -0.028536288, 0.12855627, 0.12692894, 0.014616554, -0.13362049, -0.10595006, -0.10045313, 0.029048523, 0.13919368) * input_2(-1.0, 0.0);
    result += mat4(0.0004603141, -0.059118528, -0.0288221, 0.005489738, -0.066311486, -0.21244247, -0.083798, 0.020669287, -0.044489853, 0.06160582, -0.006494713, 0.024577633, 0.2690151, -0.021188743, -0.064548366, -0.1807204) * input_2(-1.0, 1.0);
    result += mat4(-0.06408141, -0.035549235, 0.015428226, -0.026095571, 0.05232589, 0.19030887, 0.089322135, 0.2443999, -0.17300229, -0.05467909, -0.13330445, 0.10967805, -0.032910433, -0.01817303, -0.01783427, 0.07650673) * input_2(0.0, -1.0);
    result += mat4(0.19287181, -0.053809267, 0.13753147, -0.025305776, 0.14246508, -0.1096382, 0.05981606, -0.12506305, 0.08894554, -0.028328346, 0.07537451, 0.028876908, 0.10912299, 0.034409393, 0.09267304, -0.03710414) * input_2(0.0, 0.0);
    result += mat4(-0.07132532, 0.00076147367, -0.0058067306, 0.10072507, -0.07601926, -0.08724895, -0.13601875, -0.19796067, -0.07130811, 0.14608435, 0.0979145, 0.1432313, -0.002385238, 0.03659415, -0.3018186, 0.017946897) * input_2(0.0, 1.0);
    result += mat4(-0.07571966, 0.06889159, -0.15278618, -0.0375517, 0.0016810399, 0.04230399, 0.051929258, -0.16266334, -0.002898095, 0.08046458, 0.04696388, 0.038447056, -0.057042588, 0.1470723, 0.15879439, 0.1224739) * input_2(1.0, -1.0);
    result += mat4(-0.09644393, 0.04952815, 0.019841162, -0.1624737, 0.02064113, -0.004514164, -0.17010733, 0.0059745177, -0.10416284, -0.032018047, -0.035452187, -0.03032467, -0.1589315, 0.07673898, 0.046183962, -0.024592528) * input_2(1.0, 0.0);
    result += mat4(0.017943252, 0.03838153, -0.11431597, 0.08555656, -0.013710589, 0.013988095, 0.065019615, 0.052272372, -0.06848112, 0.027772916, 0.13879074, 0.08795712, -0.07069721, 0.07340653, 0.26498845, -0.030651286) * input_2(1.0, 1.0);
    result += mat4(0.056205865, -0.13235402, -0.023539295, -0.04898043, -0.0073503605, -0.09706684, 0.033542346, 0.033451557, -0.070427, 0.014678788, 0.059148103, 0.07858305, -0.101014994, -0.032946933, -0.08437604, -0.028286953) * input_3(-1.0, -1.0);
    result += mat4(0.066589385, 0.007887774, 0.061049767, -0.19982253, 0.1388137, -0.046812024, 0.19430146, -0.064771116, 0.034156915, -0.16114254, -0.041176856, -0.08167215, -0.14492057, -0.065757655, -0.029990723, -0.016301515) * input_3(-1.0, 0.0);
    result += mat4(-0.12835135, -0.055096705, -0.088946894, 0.05107929, -0.011334238, -0.051083356, 0.0018498519, 0.001405552, -0.004396882, -0.10961246, -7.418905e-05, -0.08569241, -0.010331166, 0.078397386, 0.004660025, 0.10938276) * input_3(-1.0, 1.0);
    result += mat4(0.014260974, -0.14736278, 0.07952513, 0.062064003, 0.0163758, -0.2057044, -0.03253632, -0.14316538, -0.067667484, -0.10219571, 0.039047483, 0.035668947, -0.07134904, 0.1369469, -0.030731758, 0.1625607) * input_3(0.0, -1.0);
    result += mat4(-0.0011976107, 0.0010979846, -0.11411949, -0.17603809, -0.065358706, -0.07298161, -0.17706746, -0.030189564, 0.045887638, -0.14020605, -0.018567652, -0.09394675, -0.054664914, -0.026401876, 0.10463715, -0.06273984) * input_3(0.0, 0.0);
    result += mat4(-0.034101795, 0.3421087, 0.06676296, 0.042622223, -0.21229446, -0.05486659, -0.16039714, 0.12956257, -0.11710043, 0.064733215, 0.00116373, -0.0030391205, 0.009139746, 0.024989616, -0.06587066, -0.027680615) * input_3(0.0, 1.0);
    result += mat4(-0.06342185, -0.050587084, -0.13658443, -0.111134626, -0.067252114, 0.012402794, 0.002401374, -0.01712528, -0.08728304, -0.027838567, -0.08089958, 0.077833086, 0.0777898, 0.04400841, 0.09959086, 0.095529504) * input_3(1.0, -1.0);
    result += mat4(0.12001006, -0.07521746, -0.03517085, -0.13769297, -0.06614634, -0.17875102, -0.07277464, 0.1188802, -0.10153845, 0.044097006, -0.085628286, 0.023471821, 0.089520946, 0.013241034, 0.22164488, 0.02344409) * input_3(1.0, 0.0);
    result += mat4(0.07926348, -0.16420595, 0.23833017, 0.23103654, -0.058523655, 0.02708764, 0.08150492, 0.020743767, 0.11879361, -0.1368485, -0.11781822, 0.04867262, 0.06668781, -0.03546151, 0.0053526396, -0.20674096) * input_3(1.0, 1.0);
    result += vec4(0.03785743, 0.0890688, -0.049282487, 0.15387747);
    return max(result, vec4(0.0));
}

//!DESC [ArtCNN_Legacy_C4F16_YCbCr] (Conv-1-ReLU)
//!HOOK NATIVE
//!BIND conv2d_tf
//!BIND conv2d_tf1
//!BIND conv2d_tf2
//!BIND conv2d_tf3
//!SAVE conv2d_1_tf1
//!WIDTH NATIVE.w
//!HEIGHT NATIVE.h
//!COMPONENTS 4
//!WHEN OUTPUT.w NATIVE.w 1.200 * > OUTPUT.h NATIVE.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(0.019634033, 0.035888176, 0.014885873, 0.06605663, 0.017921215, 0.0027059019, -0.13550442, 0.023229977, 0.17591329, -0.012925039, 0.0012841753, 0.13365431, -0.015641926, 0.15284877, 0.089941435, -0.08199198) * input_0(-1.0, -1.0);
    result += mat4(0.16935255, -0.0621324, 0.1481248, -0.026900178, 0.0027543886, 0.027887125, 0.23481697, -0.015217613, -0.05749123, 0.043510754, 0.007957555, -0.10635161, 0.101691425, -0.03865836, -0.09378272, -0.12881908) * input_0(-1.0, 0.0);
    result += mat4(0.058487937, -0.12860857, -0.0029018854, 0.009283766, -0.029572597, -0.0119116055, 0.08749737, 0.00680773, -0.08196838, -0.019697707, -0.066018224, 0.03364765, -0.006855867, -0.031558078, 0.025495594, -0.00190706) * input_0(-1.0, 1.0);
    result += mat4(0.019496154, 0.013640626, 0.028065527, -0.030320007, 0.026410816, 0.07829157, -0.06761423, 0.07137593, 0.38630444, -0.16931285, -0.046493053, 0.16671488, -0.048497714, 0.08309983, -0.1562794, 0.07696912) * input_0(0.0, -1.0);
    result += mat4(0.0015535209, -0.12513295, 0.14089692, -0.09105097, 0.045493994, 0.25360268, -0.017660854, -0.091481805, 0.016471043, 0.29223254, 0.06953679, -0.16741562, 0.044422008, 0.14659531, -0.19221094, 0.1509684) * input_0(0.0, 0.0);
    result += mat4(-0.042881537, 0.016711762, 0.054236338, -0.0055655814, -0.13622051, 0.061285138, 0.16026583, -0.01380186, -0.09045172, -0.01196183, -0.046940327, -0.093890786, 0.029480373, -0.13095038, 0.24322842, 0.1102666) * input_0(0.0, 1.0);
    result += mat4(0.030251082, -0.103249244, -0.102746084, 0.07090785, -0.11386318, 0.12856184, -0.049507268, 0.09267986, 0.027767284, -0.16643286, 0.020037645, -0.06749834, 0.0017184468, 0.004926679, -0.08278399, -0.09798579) * input_0(1.0, -1.0);
    result += mat4(0.052347183, -0.046373036, -0.04720257, -0.32268748, -0.09699414, -0.2507536, -0.008753023, -0.05274714, 0.06780687, 0.027607633, 0.18481518, -0.1621337, -0.11516449, 0.03835472, 0.045144517, 0.055608913) * input_0(1.0, 0.0);
    result += mat4(0.06411293, -0.12571564, 0.03733902, 0.07703031, 0.22896326, 0.014199476, -0.06489813, -0.04152048, -0.002622373, 0.012453737, -0.102296054, 0.0014712851, 0.036059327, 0.051349778, -0.01054688, -0.08727801) * input_0(1.0, 1.0);
    result += mat4(-0.12929654, 0.08313118, -0.14803916, -0.1625781, 0.1360598, 0.03387673, 0.08752348, 0.0018852667, 0.013841352, 0.06793521, 0.027716612, 0.0007526891, -0.057342276, -0.00582625, -0.07092837, 0.0030496495) * input_1(-1.0, -1.0);
    result += mat4(0.0058536436, -0.056521174, 0.057202894, -0.03156213, 0.0049330727, -0.034108598, -0.032952204, -0.08812095, -0.108372375, 0.034555778, 0.004124541, 0.036258582, 0.17712083, -0.07702806, 0.11789497, 0.18625166) * input_1(-1.0, 0.0);
    result += mat4(-0.015092581, 0.07305214, 0.28325486, -0.07170467, 0.08843433, 0.002922766, 0.029766312, -0.08372123, 0.061802667, 0.0063476064, -0.16521193, 0.0076527162, 0.09768468, -0.011925332, -0.17101946, 0.22613505) * input_1(-1.0, 1.0);
    result += mat4(0.11264116, 0.06998709, 0.06533577, -0.054786637, 0.15267895, -0.20471351, 0.09042522, 0.14816125, 0.11310752, -0.061208345, 0.050993398, -0.058815286, -0.040387608, -0.04100999, -0.03202961, 0.0063361917) * input_1(0.0, -1.0);
    result += mat4(0.032418307, 0.042837303, 0.04004032, 0.14499512, -0.07516692, 0.028505707, -0.0769627, -0.047118448, -0.07330463, 0.075005144, -0.08068904, -0.14125998, 0.021862144, -0.016656298, 0.0064448174, -0.036582507) * input_1(0.0, 0.0);
    result += mat4(-0.19450861, 0.052243, -0.035360955, 0.010488883, 0.031807866, -0.055107273, 0.13744779, 0.013844428, -0.032996885, -0.09840108, -0.15172862, -0.08777171, -0.16069967, -0.10687342, -0.08306914, -0.22082849) * input_1(0.0, 1.0);
    result += mat4(-0.0843418, 0.2385939, 0.004523449, -0.19106235, 0.06740276, -0.09859395, 0.061098687, 0.09507621, -0.014803513, -0.21346842, -0.086496964, 0.11020616, -0.0747927, 0.080725156, 0.045748502, 0.012625234) * input_1(1.0, -1.0);
    result += mat4(-0.14992964, 0.023629127, 0.15778983, -0.075935446, -0.22693704, 0.0056313234, 0.08547511, 0.008940964, 0.10853737, 0.010914836, -0.13553858, 0.058496233, 0.06587749, 0.06942228, -0.09087349, 0.10232477) * input_1(1.0, 0.0);
    result += mat4(0.14921522, 0.19834642, 0.096584804, 0.013044276, 0.14814074, 0.05766304, -0.05066264, 0.09375835, -0.0781988, 0.1125099, 0.027054818, 0.035594843, 0.028209243, 0.030545866, 0.06800386, -0.22448304) * input_1(1.0, 1.0);
    result += mat4(-0.038318478, 0.118535526, -0.0011360485, 0.014544128, -0.086482234, 0.12612015, -0.10967417, -0.11671294, 0.020398881, 0.009231503, -0.07381383, 0.037568454, -0.066819094, -0.07640811, 0.06952079, -0.048309807) * input_2(-1.0, -1.0);
    result += mat4(0.0683896, 0.08284721, 0.008748851, -0.11600959, 0.010510591, -0.00015698229, 0.1300766, -0.07303109, 0.04768857, 0.07991673, -0.044121396, -0.030050838, 0.14171904, 0.19849388, -0.042467643, -0.110989764) * input_2(-1.0, 0.0);
    result += mat4(-0.10862521, -0.031614583, 0.25569645, -0.12974113, -0.058613457, 0.0072971247, 0.06902981, -0.039199404, 0.04289258, -0.04311397, 0.08321094, 0.0106541915, -0.0695157, -0.048381798, -0.0523336, -0.09740493) * input_2(-1.0, 1.0);
    result += mat4(0.011524978, -0.18609102, -0.034207746, -0.0159498, -0.021306472, -0.23419614, 0.10967175, 0.116484374, 0.03464795, 0.15557598, -0.056998163, 0.0059979125, -0.056569148, 0.06994888, 0.017654466, -0.068254955) * input_2(0.0, -1.0);
    result += mat4(0.024236387, -0.15137379, 0.111078955, 0.12844287, 0.14138703, 0.006682237, 0.08370576, -0.107088216, -0.17614712, -0.08948034, 0.04919386, -0.07985205, 0.1845109, -0.11475833, 0.20910844, -0.024940316) * input_2(0.0, 0.0);
    result += mat4(0.08118005, 0.19609773, -0.08555783, 0.1459528, -0.1470655, 0.042328298, 0.12456589, -0.0026461903, 0.08377293, -0.109275304, 0.11538587, 0.165336, -0.060199287, 0.016837664, -0.08492288, 0.06346127) * input_2(0.0, 1.0);
    result += mat4(-0.018636877, -0.10970208, -0.08492926, 0.031983506, 0.0715034, -0.16615012, 0.0329107, -0.21044682, -0.037791014, -0.07259562, 0.03103098, 0.016728075, 0.037178412, -0.28262597, 0.1450649, 0.05743319) * input_2(1.0, -1.0);
    result += mat4(0.10322887, -0.32688162, -0.0054401914, 0.12694758, 0.1159724, 0.09676627, 0.05472525, -0.056945354, -0.07268742, 0.016492836, 0.13474134, -0.1058427, 0.1828133, -0.15674883, -0.02163755, -0.044195548) * input_2(1.0, 0.0);
    result += mat4(0.03707983, -0.15913388, 0.116933316, 0.026494605, -0.02014172, 0.0126718795, 0.16796628, -0.027809145, 0.109971024, -0.07160526, 0.12560146, 0.1418247, -0.0637895, -0.010695537, -0.103261515, -0.00014012078) * input_2(1.0, 1.0);
    result += mat4(-0.050246444, 0.11589084, 0.10805617, 0.027758433, 0.074732006, -0.08179278, 0.14323363, 0.10230582, -0.08816665, 0.04111357, -0.11587429, -0.092534475, -0.0917672, 0.14874387, 0.044737987, -0.12199832) * input_3(-1.0, -1.0);
    result += mat4(0.24075072, -0.0892053, -0.1091989, -0.17007, 0.20844464, -0.11824359, -0.22625053, 0.0740883, -0.06294471, 0.104792975, -0.023858588, 0.045322414, -0.034987047, -0.059437115, 0.046655264, -0.07962128) * input_3(-1.0, 0.0);
    result += mat4(0.075071655, 0.057815887, -0.016797928, 0.038093098, 0.14336322, -0.033602234, -0.022513404, 0.086976685, 0.06817017, 0.07204455, -0.059976608, -0.09688822, -0.00940306, -0.029654013, -0.011160539, 0.074791975) * input_3(-1.0, 1.0);
    result += mat4(-0.09734986, -0.10001577, -0.12745756, 0.082342304, -0.06779216, 0.06564098, 0.13140972, -0.1546445, -0.16907331, -0.08111184, -0.07220532, 0.02134512, -0.03767082, -0.05288293, 0.035021685, -0.03095049) * input_3(0.0, -1.0);
    result += mat4(-0.14186421, 0.16095294, -0.29368702, 0.1415649, -0.07365911, 0.0078499345, -0.2226613, -0.026734874, -0.083117366, -0.11151842, 0.04816636, 0.022904081, 0.10046869, 0.059456684, 0.10791947, 0.13296233) * input_3(0.0, 0.0);
    result += mat4(-0.014652582, -0.15320337, 0.10643817, 0.2048259, 0.09127847, -0.10885158, -0.017723313, -0.035033014, 0.0065362332, -0.002537432, 0.059641708, -0.08135919, 0.06298472, -0.11777756, 0.1830511, -0.056081153) * input_3(0.0, 1.0);
    result += mat4(0.027278535, 0.18148182, -0.07906433, 0.117018096, 0.011437166, -0.119666874, -0.018578723, 0.1806113, -0.03706873, 0.11264258, 0.023365783, -0.13710588, 0.11081636, 0.009449137, -0.11565698, 0.010901293) * input_3(1.0, -1.0);
    result += mat4(-0.018263502, 0.023166789, -0.12879872, 0.0031788477, -0.077997975, 0.22071809, -0.121453226, 0.14399883, 0.04635464, 0.13490798, -0.0041237446, 0.118606456, 0.041925635, 0.02211079, -0.04260233, 0.02809294) * input_3(1.0, 0.0);
    result += mat4(-0.0307064, -0.07648348, 0.119882055, 0.20547546, -0.11077926, -0.04819302, 0.121528886, 0.072598085, 0.013369821, -0.0037867543, 0.12544283, 0.087802425, -0.08472584, 0.053646423, 0.031301267, -0.06578666) * input_3(1.0, 1.0);
    result += vec4(0.027176352, 0.15388714, 0.056394283, 0.048877727);
    return max(result, vec4(0.0));
}

//!DESC [ArtCNN_Legacy_C4F16_YCbCr] (Conv-1-ReLU)
//!HOOK NATIVE
//!BIND conv2d_tf
//!BIND conv2d_tf1
//!BIND conv2d_tf2
//!BIND conv2d_tf3
//!SAVE conv2d_1_tf2
//!WIDTH NATIVE.w
//!HEIGHT NATIVE.h
//!COMPONENTS 4
//!WHEN OUTPUT.w NATIVE.w 1.200 * > OUTPUT.h NATIVE.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(-0.14255206, -0.009915635, 0.3932256, 0.113669895, -0.20212527, -0.06872639, -0.14093171, 0.07190578, 0.16725168, -0.24975303, 0.17243014, 0.064931475, 0.017436408, -0.06666631, 0.06698499, 0.09220624) * input_0(-1.0, -1.0);
    result += mat4(0.2632838, 0.06937659, 0.020402826, 0.034174457, -0.13590473, -0.0007977557, -0.07901002, -0.10314934, -0.070805825, -0.036603965, 0.14239454, 0.12523763, -0.023869919, 0.04168336, 0.5060885, 0.1869472) * input_0(-1.0, 0.0);
    result += mat4(-0.08041414, 0.111591056, 0.14745595, 0.009868216, -0.020388125, 0.037735544, -0.23488137, -0.062497493, -0.16437046, 0.075566806, -0.02698918, 0.03373238, 0.14891799, 0.10906462, 0.021648733, 0.17425467) * input_0(-1.0, 1.0);
    result += mat4(-0.0113372635, 0.07735309, 0.030646475, 0.1978706, -0.106487066, -0.048706174, -0.08728592, -0.04099771, 0.17812178, -0.038491096, -0.035141326, 0.0074519026, 0.083969496, -0.0033543678, 0.052234713, -0.09031465) * input_0(0.0, -1.0);
    result += mat4(0.24058606, 0.25078803, 0.012803554, -0.006538267, -0.12564133, -0.15616849, -0.06456155, 0.007148567, 0.044022147, -0.20040065, 0.048477627, -0.060409717, -0.1560674, -0.35589832, -0.1459884, -0.14711529) * input_0(0.0, 0.0);
    result += mat4(0.20400956, 0.037435632, 0.10022526, 0.027499674, -0.013220989, -0.077400535, -0.053725794, -0.111408584, 0.11801305, 0.22020562, 0.14406922, 0.054221246, -0.038736343, -0.0920674, -0.11334697, 0.111547165) * input_0(0.0, 1.0);
    result += mat4(-0.10879547, 0.0953025, 0.081782654, 0.044905413, -0.042858187, 0.121399164, 0.043266024, -0.08585306, -0.019196663, -0.047452487, 0.04310632, 0.06863891, -0.06782613, -0.013694727, 0.031288907, 0.033340648) * input_0(1.0, -1.0);
    result += mat4(-0.016160723, 0.0718029, 0.015766473, 0.044949804, -0.13174804, -0.12290603, -0.18054657, -0.029664692, 0.014900623, 0.09586924, 0.13398337, 0.107674114, 0.13790916, -0.119858146, -0.0895752, 0.111019164) * input_0(1.0, 0.0);
    result += mat4(-0.01011227, -0.0316311, -0.16744842, 0.25948763, 0.008748448, -0.0529491, -0.16241315, 0.0729372, -0.03638545, -0.07191676, 0.045662608, 0.22963972, -0.021603404, 0.038379166, 0.030939044, -0.21080753) * input_0(1.0, 1.0);
    result += mat4(-0.070554055, 0.05431852, 0.18943448, 0.07064024, 0.1056598, 0.0120051885, 0.11087482, -0.03527977, -0.016870752, 0.00814031, -0.23510267, 0.004080226, 0.14440784, -0.0033446392, -0.17751056, -0.020915134) * input_1(-1.0, -1.0);
    result += mat4(0.09071879, 0.17665635, -0.3901072, 0.08471422, -0.091541834, -0.0477422, 0.13562863, 0.11700436, -0.02184091, 0.09232714, -0.18447348, 0.05173801, -0.1855047, -0.028441254, 0.1662625, 0.03865805) * input_1(-1.0, 0.0);
    result += mat4(-0.20903346, -0.14307234, 0.06099315, 0.1458363, 0.083761565, -0.10896314, 0.16106778, -0.069868535, -0.08614438, -0.09335373, 0.008865551, 0.018526183, -0.020659598, -0.03132804, -0.2586576, -0.013883657) * input_1(-1.0, 1.0);
    result += mat4(-0.10482524, 0.05563957, 0.059829526, -0.026681809, 0.15545633, 0.04316942, 0.009635263, 0.06557301, -0.0562052, -0.031090967, -0.10290278, 0.058067393, -0.12976931, -0.040938534, 0.052455258, -0.052404687) * input_1(0.0, -1.0);
    result += mat4(-0.021384135, 0.068346485, 0.10166318, -0.056516603, 0.09897347, -0.12178181, 0.0881613, 0.14248593, 0.07491193, 0.08603751, 0.04995067, 0.19379823, 0.017701821, -0.06472251, 0.19285743, 0.0449365) * input_1(0.0, 0.0);
    result += mat4(0.069776885, -0.07910047, -0.12570637, -0.032582816, -0.01303228, 0.096673526, -0.11337285, 0.02086144, -0.10956173, 0.050481148, -0.08708508, 0.11393563, 0.0046005645, -0.038684465, 0.097330876, -0.032509997) * input_1(0.0, 1.0);
    result += mat4(-0.07267596, -0.01918744, 0.27179226, -0.059690583, 0.05299224, -0.074798584, -0.12486441, -0.095021434, 0.09968289, -0.05271754, -0.12319702, -0.0053751175, 0.012018424, 0.034018483, 0.02500441, -0.043531384) * input_1(1.0, -1.0);
    result += mat4(0.13942912, -0.08422123, 0.21518703, -0.020774819, 0.017954806, -0.015686966, -0.1500728, 0.015382564, -0.040111188, -0.040601745, 0.06609941, -0.14059553, 0.061749134, -0.17520534, -0.2877897, 0.12488744) * input_1(1.0, 0.0);
    result += mat4(0.06875879, -0.041018914, -0.009127104, 0.036671426, 0.041104514, 0.06110427, -0.054236226, 0.014100882, 0.04943404, -0.04745061, 0.013382381, -0.0027565097, -0.005433123, 0.025244713, -0.07625684, -0.032428592) * input_1(1.0, 1.0);
    result += mat4(-0.05172242, -0.029396934, 0.06931026, -0.021263283, 0.104812756, -0.061206676, 0.027318688, 0.015091701, -0.1052931, 0.0269002, 0.11839135, 0.08018696, -0.05127157, 0.13894323, -0.11419937, 0.017273994) * input_2(-1.0, -1.0);
    result += mat4(0.2579076, -0.11887454, 0.4841646, -0.016118681, 0.17577133, -0.07830338, 0.62755245, -0.13006744, 0.14150691, 0.027214797, 0.38149872, 0.12397955, 0.10680927, -0.01855555, 0.35795343, 0.072878376) * input_2(-1.0, 0.0);
    result += mat4(0.05029729, 0.13171679, -0.13724513, 0.010482919, 0.018605173, -0.06469303, 0.084727064, -0.004496273, -0.024210682, 0.08739099, 0.26127434, -0.055083793, 0.12770358, 0.120009705, 0.2618588, 0.004758241) * input_2(-1.0, 1.0);
    result += mat4(-0.23254016, -0.08177776, 0.07571556, 0.16742918, 0.0050181285, -0.034046378, 0.0749601, -0.008730826, -0.19556236, 0.013094568, 0.14639547, 0.073906116, 0.11139362, -0.08647025, -0.08705897, 0.026832871) * input_2(0.0, -1.0);
    result += mat4(0.18521285, 0.07309759, -0.04385216, 0.007695545, 0.27967945, 0.048672695, 0.018851759, 0.10773279, 0.05963212, -0.060284663, -0.101303704, -0.170103, 0.22572385, 0.29651725, -0.06133742, 0.28820232) * input_2(0.0, 0.0);
    result += mat4(0.06781422, 0.0115064625, -0.07877827, -0.0136378715, 0.0043291277, 0.05829013, -0.13613074, 0.06204661, -0.124529146, 0.041568846, -0.037595596, 0.009301449, -0.02489504, 0.030029114, -0.013160916, 0.046476424) * input_2(0.0, 1.0);
    result += mat4(0.08465133, -0.16247293, -0.22343932, -0.15799406, -0.10064171, -0.027941177, 0.16495523, 0.12110163, -0.10447302, 0.07542262, -0.06536382, -0.10031949, -0.1017661, 0.060678743, 0.0055759856, 0.011501385) * input_2(1.0, -1.0);
    result += mat4(0.008083349, 0.088455476, 0.102374926, 0.055765137, -0.025686832, 0.018935787, 0.084448494, -0.0762502, 0.0347186, 0.09797914, 0.054937888, 0.07572815, -0.030892361, 0.13691415, 0.03612095, 0.04510196) * input_2(1.0, 0.0);
    result += mat4(-0.03730459, 0.09178372, 0.056978427, 0.08208906, 0.036962286, -0.0641063, -0.056807157, -0.03216686, -0.088612564, 0.24902344, 0.115083136, 0.21629842, -0.084546514, 0.03209498, 0.05234215, -0.060530476) * input_2(1.0, 1.0);
    result += mat4(0.030771725, -0.0812971, 0.04259825, -0.13384616, -0.03883277, 0.03171529, 0.04451162, -0.103577465, -0.055075668, -0.023244087, 0.38352844, 0.018761594, 0.042020362, -0.030481854, 0.036519434, -0.020830834) * input_3(-1.0, -1.0);
    result += mat4(0.036508225, -0.1093302, -0.30011186, -0.0045785364, -0.061962724, -0.13964668, -0.16884026, 0.18193285, 0.07445937, -0.064466685, 0.17339599, 0.08740737, 0.07376643, -0.069444366, 0.30207846, -0.079985246) * input_3(-1.0, 0.0);
    result += mat4(0.21225812, 0.040796332, -0.23725422, -0.109595515, 0.08615719, 0.0744635, 0.0835755, 0.0760124, -0.014641685, -0.060280718, 0.13447237, 0.076154634, -0.105770774, -0.06156022, 0.087003425, 0.07564043) * input_3(-1.0, 1.0);
    result += mat4(-0.13075723, 0.022435093, -0.14243023, -0.016334346, 0.049408164, -0.02660939, -0.047131978, 0.0002622293, -0.10943811, -0.08014328, 0.028034188, -0.032441076, 0.016309032, -0.12657556, 0.027650328, -0.056571856) * input_3(0.0, -1.0);
    result += mat4(0.005197147, 0.007159354, 0.04365368, 0.065521546, -0.21419057, -0.17262264, -0.037460927, -0.08231071, -0.15594979, 0.028513487, -0.17554903, 0.020240204, -0.11542225, 0.14932245, -0.16507496, -0.063256435) * input_3(0.0, 0.0);
    result += mat4(0.015262947, 0.14719598, 0.11602178, 0.040402915, -0.002010205, -0.19919117, -0.15982826, 0.112181805, 0.034622174, 0.0064037615, 0.07607244, -0.009518245, 0.1237297, 0.028865958, 0.08416236, 0.14885136) * input_3(0.0, 1.0);
    result += mat4(0.18646546, -0.09297617, -0.20427507, -0.10610188, 0.073383495, -0.1231018, -0.3038008, -0.031917624, -0.09042398, -0.108107485, 0.04135193, 0.012498965, -0.028320543, -0.06271779, 0.012807673, -0.04328984) * input_3(1.0, -1.0);
    result += mat4(0.043390978, 0.016516455, 0.34483665, 0.090499006, -0.04720746, 0.036544837, -0.15568618, -0.12536553, -0.08948078, 0.095716484, 0.024207197, 0.07795169, 0.11263661, -0.08017744, 0.015478157, -0.072704606) * input_3(1.0, 0.0);
    result += mat4(0.03397261, 0.08933838, 0.07610544, -0.0042761387, 0.050627507, 0.0707449, 0.0035941356, -0.03497154, 0.13805546, -0.12493207, -0.15248266, 0.110035464, 0.09689525, -0.010842753, -0.009098605, 0.18628766) * input_3(1.0, 1.0);
    result += vec4(-0.14808896, -0.071504384, 0.053984717, -0.029569607);
    return max(result, vec4(0.0));
}

//!DESC [ArtCNN_Legacy_C4F16_YCbCr] (Conv-1-ReLU)
//!HOOK NATIVE
//!BIND conv2d_tf
//!BIND conv2d_tf1
//!BIND conv2d_tf2
//!BIND conv2d_tf3
//!SAVE conv2d_1_tf3
//!WIDTH NATIVE.w
//!HEIGHT NATIVE.h
//!COMPONENTS 4
//!WHEN OUTPUT.w NATIVE.w 1.200 * > OUTPUT.h NATIVE.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(0.071291804, 0.12586504, 0.08426771, -0.04160453, -0.0636921, 0.20381495, -0.012190985, -0.07419402, -0.027437402, 0.05645288, -0.17767492, -0.01839405, -0.18356784, 0.10566658, -0.023608904, -0.042920064) * input_0(-1.0, -1.0);
    result += mat4(0.15743639, 0.20903233, -0.13924257, 0.14709826, 0.04797522, 0.18267228, 0.17229122, 0.1519021, 0.072277755, 0.104107276, 0.041567218, -0.008479676, 0.17757374, -0.14237384, -0.0876441, -0.038809836) * input_0(-1.0, 0.0);
    result += mat4(-0.074185744, -0.044831835, -0.15380011, -0.082029395, -0.05400509, 0.067762345, 0.027463553, 0.1206859, 0.13983206, -0.034081537, 0.26026693, 0.1047874, 0.027509071, -0.16754842, -0.022523792, -0.009684581) * input_0(-1.0, 1.0);
    result += mat4(-0.086603306, -0.24430579, 0.031220747, -0.032572363, 0.13006775, -0.09833172, -0.12246422, 0.060062185, -0.107396334, 0.2263593, 0.01724452, -0.19961597, -0.21701652, -0.04226611, -0.013936776, 0.077099554) * input_0(0.0, -1.0);
    result += mat4(0.059750766, -0.16352648, 0.02397408, 0.19737189, 0.23523305, -0.0069578164, -0.076533236, 0.04971239, -0.011486829, 0.22196777, -0.11055796, -0.027282663, -0.058362205, -0.085962445, -0.011336067, 0.013314708) * input_0(0.0, 0.0);
    result += mat4(-0.025933303, 0.07726685, 0.04645314, 0.09844695, 0.059738193, 0.14367099, -0.08696683, -0.07740055, 0.14352491, -0.060474485, 0.10542062, 0.11226778, 0.22427127, -0.012038186, 0.105942786, 0.013871965) * input_0(0.0, 1.0);
    result += mat4(-0.31213772, 0.11679503, -0.08384004, 0.0866561, -0.0014800138, 0.063637026, -0.01771094, 0.0343884, -0.13610104, 0.28471798, 0.07301425, -0.020222329, -0.08431071, 0.1247428, 0.055701412, -0.005942648) * input_0(1.0, -1.0);
    result += mat4(-0.25888947, 0.0923053, -0.056725144, 0.18161976, -0.12129081, 0.021597141, -0.13314551, -0.06920258, -0.15530095, 0.09000541, 0.07200105, 0.028880319, -0.050711423, 0.22994824, 0.11162507, -0.13807039) * input_0(1.0, 0.0);
    result += mat4(-0.035478152, 0.26848269, -0.04346593, 0.075170755, -0.21671481, 0.0008778304, 0.04776016, 0.06146231, -0.21341115, 0.013895416, 0.021986032, 0.09128315, 0.18879832, 0.041844577, 0.17321873, -0.217996) * input_0(1.0, 1.0);
    result += mat4(-0.06737241, -0.026849698, -0.025330199, 0.061103188, -0.04303576, -0.023398837, -0.16789186, 0.05072802, 0.18961477, 0.026223347, 0.010904386, 0.06975645, -0.08765728, -0.052133597, 0.013811912, -0.036117166) * input_1(-1.0, -1.0);
    result += mat4(0.025497532, 0.05612324, -0.2543391, 0.10015154, -0.0144842435, 0.14714429, 0.034851383, 0.0030770735, 0.038163926, 0.05857195, 0.10311919, 0.035754964, 0.08151494, -0.0034592035, -0.050026648, -0.081260875) * input_1(-1.0, 0.0);
    result += mat4(-0.05011194, 0.07961924, 0.07018172, -0.13925865, -0.004082475, 0.24600169, 0.049229216, -0.044897307, 0.0155008705, -0.01455294, 0.029532406, -0.1208236, 0.03679313, 0.0313371, -0.20587209, 0.081829295) * input_1(-1.0, 1.0);
    result += mat4(-0.04641816, -0.02715213, -0.031319372, -0.08735074, 0.09573081, 0.05326471, 0.008666123, -0.09189301, 0.14150581, 0.053057615, -0.099705406, -0.08718096, -0.056522187, 0.12904947, -0.046285544, 0.1881425) * input_1(0.0, -1.0);
    result += mat4(0.026386205, -0.1591338, 0.0048279003, 0.124717325, 0.098524995, -0.05627744, 0.049413327, 0.0062605417, 0.019707069, -0.1048088, 0.029789073, 0.021335214, 0.17602532, -0.09478871, -0.07516573, -0.07655514) * input_1(0.0, 0.0);
    result += mat4(-0.07272444, 0.030432884, -0.026494488, -0.12710944, -0.1583827, 0.19537167, -0.015667029, -0.053557403, -0.13148084, 0.016014516, 0.11002312, -0.008137719, 0.1999486, 0.059459955, 0.30281925, -0.0427595) * input_1(0.0, 1.0);
    result += mat4(-0.044506896, -0.08792002, 0.086473785, -0.21896759, 0.036164306, 0.04006749, 0.03087582, -0.0881853, 0.004600792, 0.07411772, -0.12046066, -0.07499702, 0.02830807, -0.19780652, 0.035251573, 0.0045935647) * input_1(1.0, -1.0);
    result += mat4(-0.07349906, -0.023309402, 0.15712723, 0.10136767, -0.18773578, 0.05072724, -0.11362297, -0.19636264, -0.055060558, 0.07459632, 0.067992404, 0.03538666, 0.0024975392, 0.06767851, 0.01075953, 0.022853257) * input_1(1.0, 0.0);
    result += mat4(-0.044850152, 0.32173702, 0.036726497, -0.06354245, 0.062354345, -0.058920726, -0.024885481, -0.03695803, 0.083785385, 0.0616161, 0.054135237, -0.06181179, -0.07546508, 0.047310375, 0.1152877, 0.076976396) * input_1(1.0, 1.0);
    result += mat4(0.01883483, 0.12624714, 0.04546298, 0.0073806574, -0.20644438, -0.058877967, -0.0007568623, -0.16634, -0.03221691, 0.041977175, -0.04539003, 0.08354424, -0.16354474, 0.08571819, 0.06079995, -0.020805165) * input_2(-1.0, -1.0);
    result += mat4(-0.00025053168, 0.16406198, -0.0791074, 0.016444102, -0.0941077, 0.09704824, 0.06699779, 0.09250038, -0.028474098, -0.11013121, -0.10780182, -0.05855578, -0.2748333, -0.037258, -0.0005685435, -0.18242773) * input_2(-1.0, 0.0);
    result += mat4(0.0035915538, 0.0011418618, 0.10629822, -0.08125814, 0.03323108, 0.0726414, -0.025862847, -0.039131824, -0.09252404, 0.02881236, 0.1321532, -0.0431349, -0.002557733, 0.002486106, 0.05387852, -0.030133918) * input_2(-1.0, 1.0);
    result += mat4(-0.007989273, -0.062582366, -0.00038856614, -0.040219266, 0.030685527, 0.0046703755, 0.09563665, -0.18189092, -0.040873803, 0.066910386, -0.08887533, -0.16438468, -0.11824925, -0.040792942, -0.061799843, -0.011619239) * input_2(0.0, -1.0);
    result += mat4(-0.029467372, -0.039616447, -0.04622893, 0.05368693, 0.00047384997, 0.1254224, -0.0349397, 0.08308994, 0.011163165, -0.089638196, -0.019231137, -0.1478622, -0.07108226, -0.21575226, 0.22034396, 0.21941426) * input_2(0.0, 0.0);
    result += mat4(0.03865261, -0.022455612, -0.15401909, 0.03637242, -0.14430195, -0.09868643, 0.11401428, 0.07155697, 0.05437168, -0.024206508, -0.06074815, 0.06889019, -0.011693066, 0.0067161685, -0.1138512, 0.10899514) * input_2(0.0, 1.0);
    result += mat4(0.15708086, -0.11543837, 0.014978224, -0.16702239, -0.15539972, -0.06228687, 0.046395816, 0.01659298, -0.056286946, -0.003962445, 0.011958697, -0.10746935, 0.08480579, 0.18577367, -0.11439253, -0.07381533) * input_2(1.0, -1.0);
    result += mat4(0.10426275, -0.12987217, -0.014627512, -0.122179136, -0.106516, -0.10145829, 0.020329678, 0.056138285, 0.047042836, -0.0047692107, 0.09325878, -0.07695036, -0.13453694, 0.09712354, 0.088965535, -0.0029303362) * input_2(1.0, 0.0);
    result += mat4(-0.026019435, -0.15623003, 0.12397546, -0.029871697, 0.16984269, -0.034157414, 0.052923277, -0.0127191115, 0.05621471, -0.030248731, 0.14817487, -0.021458311, 0.0050804205, -0.09897955, -0.020110467, -0.05549943) * input_2(1.0, 1.0);
    result += mat4(-0.08574177, 0.124234125, -0.034000292, -0.054384246, -0.0698811, 0.06886067, -0.09336192, 0.014840445, -0.059112083, -0.009376762, -0.040892705, -0.056463536, -0.21385719, 0.029079657, 0.014031056, -0.097277746) * input_3(-1.0, -1.0);
    result += mat4(-0.12076007, 0.18831861, 0.09498346, -0.044261996, 0.042382263, 0.17863493, -0.14163682, 0.084004655, 0.0033037525, 0.07818769, -0.049070917, 0.13400832, -0.1417076, -0.1286653, -0.10914129, -0.1074346) * input_3(-1.0, 0.0);
    result += mat4(0.07524218, -0.20205197, 0.01285077, 0.017035281, 0.15498297, 0.018636962, -0.16513628, 0.006280934, 0.1167726, 0.08451737, -0.063175745, -0.013642013, 0.064869165, 0.043104097, -0.071300946, -0.0016605549) * input_3(-1.0, 1.0);
    result += mat4(-0.019963263, 0.27215993, -0.06944318, 0.043443676, -0.033761498, 0.42140168, 0.054531697, 0.068086095, 0.08948451, 0.08258042, -0.013373909, 0.04515191, -0.009434077, -0.21286592, 0.07930547, 0.010190606) * input_3(0.0, -1.0);
    result += mat4(0.041524332, -0.3442666, -0.03459088, 0.051884573, -0.30266136, -0.0736095, -0.16894454, -0.02504924, -0.06773458, 0.14795662, -0.04337024, 0.06633277, 0.18209203, -0.06057023, -0.021124922, -0.011110838) * input_3(0.0, 0.0);
    result += mat4(-0.011244871, -0.17417301, -0.15104823, -0.0151347155, -0.10049204, 0.015065127, 0.04350619, -0.0068666306, -0.10800904, -0.04996993, -0.02453845, -0.06620996, -0.046217453, 0.16371714, -0.010122495, 0.049524773) * input_3(0.0, 1.0);
    result += mat4(0.0979842, -0.024671352, -0.0492474, 0.11543196, 0.0537501, -0.009579457, -0.085021794, 0.16649565, -0.009617669, -0.004984589, 0.12523827, -0.03643089, -0.0414142, -0.041580986, -0.111414894, -0.11293792) * input_3(1.0, -1.0);
    result += mat4(-0.10588711, -0.13382863, 0.012692077, -0.05073132, 0.029060246, -0.3289399, -0.09426009, 0.019060077, -0.16805482, -0.109144956, -0.04978458, -0.087238275, 0.09822389, 0.2412102, -0.05960542, -0.066910975) * input_3(1.0, 0.0);
    result += mat4(0.09426598, 0.053172957, -0.107752025, -0.06240752, 0.106315434, -0.013695482, -0.04309136, 0.01888685, -0.13105093, -0.06629072, -0.060985554, 0.029531114, -0.06352748, 0.21047683, 0.06977588, -0.009237685) * input_3(1.0, 1.0);
    result += vec4(-0.095559634, -0.06399086, -0.13357538, 0.05107276);
    return max(result, vec4(0.0));
}

//!DESC [ArtCNN_Legacy_C4F16_YCbCr] (Conv-2-ReLU)
//!HOOK NATIVE
//!BIND conv2d_1_tf
//!BIND conv2d_1_tf1
//!BIND conv2d_1_tf2
//!BIND conv2d_1_tf3
//!SAVE conv2d_2_tf
//!WIDTH NATIVE.w
//!HEIGHT NATIVE.h
//!COMPONENTS 4
//!WHEN OUTPUT.w NATIVE.w 1.200 * > OUTPUT.h NATIVE.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_1_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_1_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_1_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_1_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(-0.015046824, 0.08649545, 0.13256276, -0.024624271, 0.02774236, -0.03433042, 0.08348276, 0.09401863, 0.1078005, 0.0011793885, -0.014579169, 0.09499503, 0.026545705, -0.0035537947, 0.079829656, -0.04648707) * input_0(-1.0, -1.0);
    result += mat4(-0.088765845, -0.09544716, 0.1295978, 0.010873901, 0.034298096, 0.036805816, 0.016252114, 0.084449306, 0.009203433, 0.06991197, 0.08046, 0.101504944, -0.031112194, 0.09414678, 0.039948776, 0.11806239) * input_0(-1.0, 0.0);
    result += mat4(-0.023448162, -0.08891176, 0.06313935, -0.0065005086, 0.053487383, 0.02282852, -0.013394437, -0.0065218033, -0.025672248, -0.030947817, -0.012519625, -0.009217673, 0.06307076, 0.2606289, 0.2374692, -0.0855376) * input_0(-1.0, 1.0);
    result += mat4(-0.022381054, -0.057828072, -0.06778732, -0.026225002, -0.031006575, -0.03378834, -0.020210257, -0.0053514643, 0.03259152, -0.058426913, -0.0038198803, -0.24431635, 0.03237349, 0.16382132, 0.054399833, -0.009971784) * input_0(0.0, -1.0);
    result += mat4(0.16266353, 0.048601285, -0.035779476, -0.036641054, -0.06215277, 0.16872908, 0.20204587, 0.06787053, -0.07879141, -0.15393831, 0.0008723795, -0.07100163, -0.10388416, 0.013997767, 0.106253095, 0.16983832) * input_0(0.0, 0.0);
    result += mat4(0.070742585, -0.10608694, -0.035413608, 0.1765021, -0.087410875, 6.597862e-05, -0.03987825, -0.0058549894, -0.029812647, -0.03404791, 0.0070881927, -0.036979116, 0.024611939, -0.31925735, 0.08169938, 0.11297236) * input_0(0.0, 1.0);
    result += mat4(-0.10518481, 0.06357226, -0.113643296, -0.22184883, 0.09370995, 0.020032067, 0.033799246, -0.35300362, -0.008748209, 0.0034115184, -0.0028513165, -0.010416859, 0.11622495, -0.011423626, 0.19738607, 0.017966792) * input_0(1.0, -1.0);
    result += mat4(0.12576835, -0.18728215, -0.15349121, -0.049911648, -0.113109, 0.017193992, 0.18310216, 0.2910268, 0.022562945, 0.00024482483, -0.0002598355, 0.012159812, 0.038820576, -0.07884579, 0.11545541, 0.05548827) * input_0(1.0, 0.0);
    result += mat4(-0.070251174, 0.07368668, 0.008239168, 0.028591875, 0.035999253, -0.11477035, -0.024965221, 0.02938697, -0.00090588245, 0.0011742358, -0.005343556, -0.015508234, -0.013566268, -0.08100022, 0.06429852, -0.076999605) * input_0(1.0, 1.0);
    result += mat4(-0.01883779, 0.011239299, 0.11151896, 0.15313457, -0.02954295, -0.033106912, 0.0019997077, 0.013642903, -0.04644598, -0.1857265, 0.004095775, -0.6195202, -0.04886956, 0.03060995, -0.035752025, 0.0721535) * input_1(-1.0, -1.0);
    result += mat4(0.021885946, -0.013192869, -0.016035642, 0.0015077578, 0.2662566, 0.23172863, 0.05418603, -0.02934229, 0.017970378, 0.06677037, -0.019383255, 0.18103747, -0.038292084, -0.030191462, 0.06391749, -0.17834866) * input_1(-1.0, 0.0);
    result += mat4(-0.045770895, 0.015968932, -0.16573192, 0.07012325, -0.47658986, -0.18028341, 0.04145601, 0.043364998, 0.028783958, 0.1780832, 0.13899681, -0.027090728, -0.0031321193, -0.11197904, -0.05297081, 0.020700743) * input_1(-1.0, 1.0);
    result += mat4(-0.06490243, 0.021045648, 0.026707357, 0.057896554, 0.11142565, -0.0350466, -0.044442482, -0.1926471, 0.07653225, 0.13654189, 0.036576603, 2.232869, -0.00016861827, 0.1398233, 0.046657763, -0.113778815) * input_1(0.0, -1.0);
    result += mat4(0.19903779, 0.12086414, -0.008060494, -0.11888005, 0.106809676, -0.10353562, 0.021858443, -0.05259482, -0.13963953, 0.17042741, 0.031803906, -0.0018082103, -0.09084496, -0.12788898, -0.13386546, -0.087814) * input_1(0.0, 0.0);
    result += mat4(-0.031363755, -0.08861477, 0.07223722, 0.12674126, 0.012487569, -0.16903706, -0.04245293, 0.021369614, 0.04253793, -0.31626132, 0.0265859, 0.0004878187, -0.05723603, 0.00085376366, -0.05026033, -0.0054324316) * input_1(0.0, 1.0);
    result += mat4(0.109771006, -0.027928675, 0.031520292, -0.013504499, -0.048919633, 0.060623612, 0.018313276, 0.12036928, -0.07654108, -0.16325195, 0.46411452, -2.3463213, 0.10253847, -0.075137526, -0.030138798, 0.095296174) * input_1(1.0, -1.0);
    result += mat4(0.113959976, -0.12526962, -0.028109832, -0.38350844, 0.0711233, 0.057886966, -0.083689876, 0.108784266, 0.06645621, 0.10415756, -0.098959774, 0.025913753, 0.13312781, -0.012340326, -0.012148394, -0.1021415) * input_1(1.0, 0.0);
    result += mat4(-0.07782942, 0.06591878, -0.0030775806, -0.079096936, 0.020685751, 0.139147, -0.01032619, -0.023469323, 0.005431251, 0.10422196, 0.012388179, -0.04841075, 0.10848249, 0.2154642, 0.018198755, -0.0009829813) * input_1(1.0, 1.0);
    result += mat4(0.05274074, -0.027275136, -0.087265514, -0.04117686, 0.014163738, -0.10871979, -0.20552438, -0.11393905, -0.017070426, 6.588232e-05, -0.007225198, -0.083042964, -0.13387512, 0.13423909, 0.12682308, 0.18879074) * input_2(-1.0, -1.0);
    result += mat4(0.07449315, -0.0216911, -0.04231978, 0.020149002, 0.040864546, 0.0703844, 0.009568057, -0.08808843, -0.030393856, -0.070377044, 0.019621937, 0.017553542, 0.29197726, 0.17374177, 0.13073824, 0.15387098) * input_2(-1.0, 0.0);
    result += mat4(0.035381522, -0.056741253, -0.059880752, -7.235686e-05, -0.1171279, 0.15800764, 0.012056482, 0.08816153, -0.021062605, 0.013104464, 0.07457052, -0.01401285, -0.020198938, -0.00658761, 0.089794196, -0.015525047) * input_2(-1.0, 1.0);
    result += mat4(0.04734658, 0.006475418, -0.051747467, -0.0542136, 0.17032388, 0.08243217, -0.11585295, 0.08914242, 0.12618403, 0.08672518, 0.0026211923, 0.08086269, 0.04039938, -0.049004503, 0.077764355, 0.02867886) * input_2(0.0, -1.0);
    result += mat4(0.27654752, -0.09435653, -0.24764614, -0.15161298, 0.12410789, 0.23423073, -0.3174607, -0.056522477, 0.009007388, -0.65904784, -0.024952216, 0.07268086, -0.008956677, 0.18978903, -0.053228702, 0.17510386) * input_2(0.0, 0.0);
    result += mat4(0.069424264, -0.0066857636, -0.07100588, -0.047311746, -0.02444945, 0.12262388, -0.011517291, 0.015161393, -0.05811854, -0.6741162, 0.114183344, -0.081368394, 0.021793978, -0.083664596, -0.03166177, -0.007445943) * input_2(0.0, 1.0);
    result += mat4(-0.05091086, -0.06649738, -0.11349309, 0.05615961, -0.08403864, -0.04271537, 0.009962102, 0.14167747, 0.10641188, -0.021355715, -0.04209683, -0.52968764, -0.061640337, 0.010151878, 0.017832775, 0.31596753) * input_2(1.0, -1.0);
    result += mat4(0.12638284, 0.011082473, -0.048020925, 0.038711835, -0.09887551, 0.07816058, 0.06864611, 0.15632433, 1.0379868, 0.056693967, 0.4155486, 1.6884563, -0.029490246, 0.20479564, 0.03615457, 0.19667922) * input_2(1.0, 0.0);
    result += mat4(-0.05247973, -0.02051737, -0.044774104, -0.061838236, -0.009960913, -0.21908355, 0.01962634, -0.028349796, -0.80012685, -0.013481745, -0.0814198, -0.32451415, -0.039551567, 0.060063962, 0.049933206, 0.02045652) * input_2(1.0, 1.0);
    result += mat4(0.11955218, 0.016109502, -0.0546236, -0.19242118, 0.024465278, 0.0016019812, -0.01962489, -0.08065093, 0.025476014, 0.032573912, -0.05127346, 0.030973045, -0.013699546, -0.06779438, 0.005179849, 0.03904739) * input_3(-1.0, -1.0);
    result += mat4(-0.13062324, -0.055527035, 0.059555747, 0.004730501, 0.012031988, 0.0009385241, -0.00064900727, -0.026483381, 0.019426689, 0.09718397, 0.045773573, 0.090678826, 0.062236052, 0.034714837, -0.09281002, 0.12038032) * input_3(-1.0, 0.0);
    result += mat4(-0.102087505, -0.21107592, -0.008308667, 0.012007926, 0.039119072, -0.17974254, -0.010335478, 0.060653243, -0.016221492, -0.06392398, -0.035964295, 0.0054743653, 0.033023432, 0.16258742, -0.02830323, -0.0038970485) * input_3(-1.0, 1.0);
    result += mat4(-0.0070155347, 0.09506253, 0.04771321, 0.19062036, 0.08700444, -0.006224323, 0.0048041176, -0.12676206, 0.0689201, -0.013402763, -0.07233978, -0.07634275, 0.013364019, 0.045345616, -0.08124909, -0.020694839) * input_3(0.0, -1.0);
    result += mat4(0.04120284, -0.08799256, -0.1987384, -0.27173778, -0.048240185, -0.05141606, 0.023801558, -0.041256372, -0.07098588, -0.40272117, -0.3556493, -0.20569237, -0.10988666, 0.083077915, -0.07025792, 0.045083378) * input_3(0.0, 0.0);
    result += mat4(0.022687968, 0.085004866, -0.09153279, -0.05969382, 0.010634891, -0.10473647, -0.08804953, -0.06939335, 0.08017962, -0.18191627, -0.1250947, 0.08214614, -0.13439637, 0.027476469, 0.05476776, -0.12217242) * input_3(0.0, 1.0);
    result += mat4(-0.0071335686, 0.014224766, 0.07124507, 0.04133984, -0.014307613, 0.017235767, -0.0001751173, -0.23245648, 0.05007556, 0.029303612, 0.004801875, 0.14511196, -0.012043712, -0.07273785, -0.040457603, 0.10872061) * input_3(1.0, -1.0);
    result += mat4(-0.068600394, -0.026383838, 0.011071589, 0.28994018, 0.0032942398, 0.023652716, -0.008107551, 0.054096643, 0.06338977, 0.043555714, -0.14307244, -0.05002447, -0.0010912822, -0.09398642, -0.078277476, -0.112116024) * input_3(1.0, 0.0);
    result += mat4(-0.06396276, 0.038132265, 0.032832775, -0.015579883, -0.011286248, 0.08404362, -0.018430807, 0.013036724, 0.032724045, 0.14619458, -0.07716078, -0.07597878, 0.008895632, 0.078714475, -0.026108969, -0.06395909) * input_3(1.0, 1.0);
    result += vec4(0.005616519, -0.03987811, 0.17668651, -0.0482935);
    return max(result, vec4(0.0));
}

//!DESC [ArtCNN_Legacy_C4F16_YCbCr] (Conv-2-ReLU)
//!HOOK NATIVE
//!BIND conv2d_1_tf
//!BIND conv2d_1_tf1
//!BIND conv2d_1_tf2
//!BIND conv2d_1_tf3
//!SAVE conv2d_2_tf1
//!WIDTH NATIVE.w
//!HEIGHT NATIVE.h
//!COMPONENTS 4
//!WHEN OUTPUT.w NATIVE.w 1.200 * > OUTPUT.h NATIVE.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_1_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_1_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_1_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_1_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(0.09583148, 0.10392916, -0.044618797, -0.058125112, -0.041645035, 0.038007915, -0.038773425, -0.021898534, 0.20820878, -0.0072497004, -0.0426037, 0.33350015, 0.21237025, 0.06900362, -0.000806251, -0.134046) * input_0(-1.0, -1.0);
    result += mat4(-0.02090672, -0.14609236, -0.03394615, -0.015301245, -0.03612893, -0.019344095, -0.10268899, -0.07458309, -0.1343453, -0.08745446, -0.014987593, -0.079605944, 0.00848083, -0.16585717, -0.007088839, 0.0077833794) * input_0(-1.0, 0.0);
    result += mat4(-0.05769762, 0.03829917, 0.017237118, 0.023902826, -0.009408276, -0.055561442, 0.012223035, -0.034292623, 0.0018741145, 0.00731325, -0.026980689, 0.032938875, -0.08528099, 0.012756387, 0.13824062, -0.006557071) * input_0(-1.0, 1.0);
    result += mat4(-0.04662858, -0.15546128, -0.023573227, 0.059177313, 0.15438412, -0.080262095, 0.14937438, -0.03264958, 0.059243865, 0.15986925, 0.051692557, -0.007819146, 0.06540624, -0.17670861, -0.04227758, -0.03879592) * input_0(0.0, -1.0);
    result += mat4(-0.092934996, 0.06342765, 0.12632194, 0.17876858, -0.027212912, 0.097274326, 0.06354635, 0.06010419, -0.012241008, 0.07571267, 0.13024855, -0.034810305, -0.040630292, -0.06368998, -0.037166867, -0.23931344) * input_0(0.0, 0.0);
    result += mat4(0.030063167, 0.040554076, -0.02181293, -0.044818714, 0.035769098, 0.045322563, -0.011541155, -0.032956738, -0.010478356, -0.01599421, 0.0032080917, -0.010971755, 0.0456215, 0.15018398, -0.11023573, 0.052857555) * input_0(0.0, 1.0);
    result += mat4(0.008988504, -0.056199018, 0.0142828, -0.07579452, 0.028191313, -0.13681093, 0.17565158, 0.11455194, -0.0017062227, 0.002781731, -0.028901743, 0.0012940238, 0.10929021, -0.13810845, -0.117931664, 0.30123612) * input_0(1.0, -1.0);
    result += mat4(0.08167344, -0.02526031, -0.12549819, 0.21200985, -0.07151259, -0.07617784, -0.28851405, 0.10346743, -0.0001146771, -0.014504847, -0.0043445574, -0.01587981, -0.076271325, -0.008444004, 0.10567885, -0.028677283) * input_0(1.0, 0.0);
    result += mat4(0.09984577, 0.09145336, 0.042039186, 0.004812767, -0.0914815, 0.049933113, -0.014937706, -0.096064255, -0.0021558935, -0.00797058, -0.010654306, 0.0013816949, 0.05639923, 0.06206102, -0.0982448, -0.024791477) * input_0(1.0, 1.0);
    result += mat4(-0.013343972, 0.13239975, -0.08469441, -0.08497812, -0.10658524, 0.12385555, 0.020251252, -0.14578229, -0.21503924, -1.0294299, 0.08087363, -0.09892601, 0.1185721, -0.047752008, -0.13025595, -0.225984) * input_1(-1.0, -1.0);
    result += mat4(-0.0072787562, -0.017564658, -0.06570245, -0.09563919, 0.27206567, 0.012645873, -0.1103641, 0.055152677, 0.040504113, 0.027822021, -0.05230463, -0.11254444, 0.037634425, 0.07918361, 0.020236365, -0.10919045) * input_1(-1.0, 0.0);
    result += mat4(0.030856587, -0.031275112, 0.006197143, 0.0052814884, 0.30129564, 0.061684992, -0.009423718, 0.3765347, -0.013249465, -0.015090496, 0.019289479, 0.012984979, 0.011704582, -0.0021474923, -0.001834386, 0.054889675) * input_1(-1.0, 1.0);
    result += mat4(0.08701571, -0.115551405, 0.064068824, 0.0426778, 0.1476502, -0.14469811, 0.14432786, 0.23579898, 0.17199372, -0.08991746, 0.0355405, -0.18902642, 0.16596152, -0.20351073, 0.2116386, -0.19628619) * input_1(0.0, -1.0);
    result += mat4(-0.10745046, 0.13925909, 0.03880649, -0.046255313, 0.029653696, -0.12715639, 0.19730204, 0.18003291, 0.08445448, -0.30556563, -0.088243015, 0.120575175, -0.07795252, -0.08408911, -0.18131259, 0.024082066) * input_1(0.0, 0.0);
    result += mat4(-0.1039413, 0.091867276, -0.10653324, 0.11289128, -0.10925521, 0.16254108, -0.029581012, -0.27153602, -0.12013108, 0.05310991, 0.0038758812, -0.011511868, -0.046703015, 0.031293973, -0.102478266, 0.029100413) * input_1(0.0, 1.0);
    result += mat4(0.044085786, -0.14742109, 0.11702118, 0.062318616, -0.076033495, 0.032340836, -0.0546601, 0.01629826, 0.025484456, -0.15810885, -0.11998228, -0.035828892, -0.06594795, -0.017379021, 0.0494451, 0.072561845) * input_1(1.0, -1.0);
    result += mat4(-0.010430194, 0.123081684, 0.35063738, 0.042438455, -0.039774112, -0.21546394, -0.010599814, -0.06896721, -0.0076794634, 0.124663286, -0.050754514, -0.15668392, -0.07842935, -0.01731435, -0.20425074, 0.22072566) * input_1(1.0, 0.0);
    result += mat4(0.08068006, 0.05399419, 0.08674099, -0.051963013, 0.028739959, -0.054934587, -0.05393764, -0.09134533, 0.091926716, -0.0756219, 0.028651081, 0.016539475, -0.0027663626, -0.0013156058, -0.05162932, 0.024191715) * input_1(1.0, 1.0);
    result += mat4(-0.07343953, -0.015477732, 0.0607234, -0.026942877, 0.08605923, -0.08437421, 0.08225706, -0.08295497, -0.009429807, -0.027682815, 0.04546371, -0.03036731, 0.028838156, 0.03733291, 0.035322998, 0.0029560537) * input_2(-1.0, -1.0);
    result += mat4(0.03656271, 0.027021674, -0.015123147, -0.04639272, 0.07227482, 0.08156492, 0.16773662, 0.12045298, 0.15277968, -0.005112485, -0.051080924, -0.017352164, 0.015843654, -0.0022915474, -0.08976935, -0.04025548) * input_2(-1.0, 0.0);
    result += mat4(-0.057434767, -0.08169924, 0.030627377, -0.06841441, -0.041103333, 0.014002473, -0.07667968, -0.027131317, -0.09654516, 0.012587644, -0.009065803, 0.010388566, -0.0537069, 0.03371758, 0.041550353, -0.03840247) * input_2(-1.0, 1.0);
    result += mat4(-0.0146205155, 0.077233955, -0.04327576, 0.07183222, -0.113428615, -0.09855284, -0.22515118, -0.15225293, 0.04354435, 0.14633204, 0.07927011, -0.05700307, -0.1554701, -0.19000797, -0.010861896, -0.1322181) * input_2(0.0, -1.0);
    result += mat4(-0.17745762, -0.16819309, -0.08095389, -0.059450123, 0.18762071, -0.0184877, 0.18855135, -0.034256853, 0.0036323022, -0.10754704, -0.015137312, -0.038743313, -0.11083403, 0.05181905, 0.20241758, -0.1712649) * input_2(0.0, 0.0);
    result += mat4(0.085754395, 0.059765402, 0.007278586, 0.028374989, -0.0085466495, 0.21443002, -0.055442058, 0.1059056, 0.10870496, 0.10606853, -0.009541996, 0.08115455, 0.017728116, -0.05759636, 0.018982105, 0.09318367) * input_2(0.0, 1.0);
    result += mat4(0.028746601, 0.08899833, -0.2117276, -0.20348218, -0.055416342, 0.05353602, -0.0048762513, 0.0579883, -0.09646193, -0.6589652, 0.20840102, 0.3748823, -0.08408505, -0.038175795, -0.09602962, 0.0964065) * input_2(1.0, -1.0);
    result += mat4(0.049292274, 0.12963128, 0.06631286, -0.05268699, -0.060589146, 0.02706217, 0.023537945, 0.107597195, -0.16579825, 0.114566684, -0.8666742, -2.817195, 0.09076944, 0.06444693, -0.08776663, -0.09342065) * input_2(1.0, 0.0);
    result += mat4(0.048310477, 0.021970153, 0.05679646, -0.011005549, -0.09416503, 0.08132466, 0.03493326, -0.08673594, 0.4596135, -1.0975167, -0.18373127, -0.57297105, 0.011634097, 0.084645346, -0.052479144, -0.04451229) * input_2(1.0, 1.0);
    result += mat4(0.08029333, 0.034557313, 0.02417619, -0.076258436, -0.047084406, -0.010828828, -0.098693065, 0.046868134, -0.038862154, 0.033328705, -0.015456458, 0.010832329, 0.020779137, 0.122874275, 0.08247851, -0.0199004) * input_3(-1.0, -1.0);
    result += mat4(-0.085918225, 0.008411527, 0.03666597, 0.093667336, 0.005546366, 0.101220526, -0.08217055, 0.033679634, -0.019228721, 0.0010872113, 0.030091135, 0.06570252, 0.11496459, -0.07035177, 0.13550015, 0.050493393) * input_3(-1.0, 0.0);
    result += mat4(-0.0057213604, 0.054828014, -0.030915858, 0.035007518, -0.0061837337, -0.042907935, -0.032078248, 0.0062323613, -0.010255058, -0.04097745, 0.0658733, -0.08704891, 0.009762234, -0.06616383, 0.025752706, -0.051710524) * input_3(-1.0, 1.0);
    result += mat4(0.009944135, -0.015337627, -0.29890072, 0.044679925, 0.108834356, 0.08894554, -0.033090193, 0.065102756, 0.022179805, 0.015551976, -0.13531221, -0.025461648, -0.109779514, -0.16706777, -0.09584014, -0.02718112) * input_3(0.0, -1.0);
    result += mat4(-0.019718312, 0.039266434, 0.23654784, -0.07693003, 0.016546682, 0.07709117, 0.0048599555, 0.119310044, -0.13970733, -0.093340166, -0.057052094, 0.13589078, -0.025928793, 0.12167297, -0.11783269, -0.0961869) * input_3(0.0, 0.0);
    result += mat4(0.046391465, 0.043405384, 0.115762405, 0.05659327, 0.032792736, 0.04966892, -0.020085562, 0.09381377, 0.050274897, 0.13042471, -0.08936737, -0.04065533, 0.048410464, -0.06752229, -0.0033672652, -0.029173926) * input_3(0.0, 1.0);
    result += mat4(0.06636083, -0.017454164, -0.18218362, 0.10608268, 0.102412164, 0.021336865, -0.1399056, 0.011291551, 0.03088727, -0.0059048687, -0.013395192, -0.074158065, 0.007815468, -0.007782905, -0.05619232, 0.109493844) * input_3(1.0, -1.0);
    result += mat4(0.03969293, -0.0016165214, -0.046449807, 0.028088445, 0.002749689, -0.03009023, -0.10440886, -0.024901478, 0.006951891, -0.016645452, -0.17763427, -0.042651627, 0.00953736, 0.11389669, -0.15071964, -0.030337017) * input_3(1.0, 0.0);
    result += mat4(-0.0037795694, 0.07290866, -0.049271178, -0.019152297, 0.008671466, -0.02825165, -0.081850335, 0.014201915, 0.1005162, 0.011879061, 0.13059941, 0.002619014, 0.091413796, 0.05491223, 0.021202186, 0.111875996) * input_3(1.0, 1.0);
    result += vec4(0.06637126, 0.014711092, 0.037649088, 0.062681146);
    return max(result, vec4(0.0));
}

//!DESC [ArtCNN_Legacy_C4F16_YCbCr] (Conv-2-ReLU)
//!HOOK NATIVE
//!BIND conv2d_1_tf
//!BIND conv2d_1_tf1
//!BIND conv2d_1_tf2
//!BIND conv2d_1_tf3
//!SAVE conv2d_2_tf2
//!WIDTH NATIVE.w
//!HEIGHT NATIVE.h
//!COMPONENTS 4
//!WHEN OUTPUT.w NATIVE.w 1.200 * > OUTPUT.h NATIVE.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_1_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_1_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_1_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_1_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(0.026948247, -0.0006016228, 0.041839927, -0.042290986, -0.015938971, 0.066547215, 0.039274253, 0.063872516, -0.24855493, 0.07682258, -0.067390665, -0.08520428, -0.0034813238, -0.03043286, -0.04174016, -0.017052878) * input_0(-1.0, -1.0);
    result += mat4(-0.07139504, -0.054208525, -0.22778998, -0.065870814, 0.021884043, -0.031261932, 0.103647485, -0.055048425, 0.17730503, -0.22375064, 0.050644983, -0.032599416, 0.013980654, 0.00015672456, 0.051418163, -0.15434682) * input_0(-1.0, 0.0);
    result += mat4(0.023774318, -0.08591644, -0.082909435, -0.037880737, -0.029540885, -0.0102486545, 0.02938924, 0.021281848, -0.043737195, -0.005190172, -0.08154274, -0.019663045, -0.020128774, 0.016402965, 0.028730903, 0.08698022) * input_0(-1.0, 1.0);
    result += mat4(0.021182165, -0.23686802, 0.056157127, -0.04868931, -0.040385455, 0.07525576, -0.11463055, 0.028819319, -0.027674412, 0.019461026, -0.01777582, -0.10750649, 0.044315204, 0.08611509, 0.055285454, -0.14072628) * input_0(0.0, -1.0);
    result += mat4(-0.01898732, -0.11114138, 0.17099191, 0.15510228, 0.2042504, -0.017920375, 0.061031185, 0.05330845, 0.06618327, 0.03862903, 0.0077968617, 0.17784305, 0.08075039, 0.013511441, -0.0986915, -0.04186395) * input_0(0.0, 0.0);
    result += mat4(0.013918246, 0.07921355, 0.13305594, 0.09779102, 0.12388067, 0.041993327, 0.024197854, 0.063506804, -0.007295544, -0.024487915, -0.0053461073, -0.0053864317, -0.04416344, 0.034423795, 0.11468489, 0.07191777) * input_0(0.0, 1.0);
    result += mat4(0.08047577, -0.18572217, 0.12992951, -0.13801238, -0.020706363, 0.036272135, -0.07892761, -0.09393068, -0.0037008694, -0.0061903736, -0.015612803, 0.011597813, 0.05566404, 0.022166103, -0.11376392, 0.028201066) * input_0(1.0, -1.0);
    result += mat4(-0.09889166, 0.021460734, -0.042355243, 0.0042578066, -0.034322087, -0.057277888, 0.122021504, -0.08443487, -0.00072930637, -0.001690257, 0.017286658, -0.0035565847, 0.17705001, -0.024290366, 0.07039864, 0.045870084) * input_0(1.0, 0.0);
    result += mat4(0.036738385, 0.0946268, 0.08543465, 0.010554288, -0.001379545, -0.07288645, -0.019649679, -0.07837774, 0.0027291384, -0.0041760206, -0.010073061, 0.004645905, -0.09488122, -0.063540846, 0.027598336, -0.06715312) * input_0(1.0, 1.0);
    result += mat4(-0.042394575, 0.14081965, 0.060906395, 0.1666888, -0.06560203, 0.062115155, 0.017191619, -0.013951949, -0.38863, 0.0935248, -0.20342502, 0.7049739, 0.08791902, -0.009026828, 0.06967178, 0.029944573) * input_1(-1.0, -1.0);
    result += mat4(-0.011828274, -0.0020173204, -0.11008323, -0.027809592, -0.0023016061, 0.032555483, 0.21006721, -0.036744233, 0.009875711, 0.087558486, -0.3297321, 0.046007205, 0.13313937, 0.0625929, -0.13630638, -0.014946923) * input_1(-1.0, 0.0);
    result += mat4(0.016586611, -0.07102898, 0.20649341, -0.032928072, 7.2145165e-05, 0.12760508, 0.13700466, 0.0051782136, -0.045910165, 0.020227201, -0.017588707, 0.04022927, 0.08980851, -0.012027011, -0.16386357, 0.010911585) * input_1(-1.0, 1.0);
    result += mat4(0.06664427, 0.03563428, -0.04767101, 0.022957237, -0.009023997, 0.06024056, -0.054195654, -0.086741365, -0.31749004, -0.22824758, 0.65536743, -0.48386756, -0.010643406, 0.097113825, 0.049653273, 0.015452014) * input_1(0.0, -1.0);
    result += mat4(0.042751543, -0.027523527, -0.1128391, -0.046045184, 0.08321547, -0.02336869, 0.13146172, 0.18732995, 0.017880294, -0.031235112, -0.40616444, -0.013995895, 0.011575768, 0.19180349, 0.1268276, -0.13232018) * input_1(0.0, 0.0);
    result += mat4(0.052873854, -0.088694416, 0.16749623, 0.018723508, -0.022695877, -0.00046123684, -0.011291711, 0.031463493, 0.024668092, -0.03438795, -0.1420985, -0.04132234, -0.015421969, -0.010641218, 0.20661952, 0.010789051) * input_1(0.0, 1.0);
    result += mat4(-0.015066391, 0.017036749, -0.016815001, -0.023645267, 0.011036781, 0.011657523, -0.008194814, 0.062606595, -0.16804792, -0.03179066, -0.24093997, 0.1667299, -0.013599355, 0.093585625, -0.048400216, -0.11861449) * input_1(1.0, -1.0);
    result += mat4(0.13500892, 0.12844941, 0.031803526, -0.05797859, -0.07209967, 0.035314653, 0.084678315, -0.00015901877, 0.014092658, -0.091188684, -0.18370748, -0.0034666706, -0.113177806, -0.0039956947, -0.05511041, -0.14088495) * input_1(1.0, 0.0);
    result += mat4(0.017869433, 0.05109032, 0.12911242, 0.09846052, 0.019933227, 0.020061877, 0.052514546, -0.019341972, -0.053001422, 0.06398022, -0.05529791, 0.04024366, 0.0034756758, -0.051577244, -0.037589412, -0.04421465) * input_1(1.0, 1.0);
    result += mat4(0.014499165, 0.1391541, -0.021907277, 0.00723761, -0.0026555022, -0.05477693, 0.04192094, -0.05436957, 0.017440302, 0.08785463, -0.018067893, -0.01063199, -0.032347456, -0.17873098, -0.13689142, 0.08172708) * input_2(-1.0, -1.0);
    result += mat4(-0.07266832, 0.07092266, -0.15580337, 0.023965262, -0.091392815, 0.085487485, -0.0644603, 0.08028899, -0.0037300098, 0.017427726, 0.17831436, -0.061514303, -0.050770085, -0.068907104, 0.093546115, -0.040179558) * input_2(-1.0, 0.0);
    result += mat4(0.008040662, -0.018203538, -0.019661773, 0.01545368, 0.06187944, 0.11412897, 0.21838026, 0.016998649, 0.013638181, -0.040338803, -0.14513925, -0.005966948, -0.046482302, -0.008765147, 0.03148247, -0.029825276) * input_2(-1.0, 1.0);
    result += mat4(0.08566745, 0.18247932, 0.024644207, 0.16992845, -0.0120947985, 0.020726241, 0.005511176, 0.120220825, -0.24050936, -0.011583883, -0.24540819, 0.123091176, 0.015914261, -0.05308115, -0.06766438, 0.1213626) * input_2(0.0, -1.0);
    result += mat4(0.076756865, 0.16411152, 0.11498948, -0.12423133, 0.15588516, -0.060841907, -0.05210407, 0.13421015, -0.33176476, 0.0055375975, 0.117463134, -0.20059706, 0.13077453, 0.021724148, -0.13145411, 0.14676413) * input_2(0.0, 0.0);
    result += mat4(-0.123459324, -0.013366508, 0.08913906, -0.024276428, 0.09763634, -0.03284001, 0.07873082, -0.09338709, 0.18680836, 0.04953929, 0.058764957, 0.039264336, 0.019491414, 0.044493288, -0.04206819, 0.1320749) * input_2(0.0, 1.0);
    result += mat4(0.08519893, -0.11155043, -0.10796773, -0.124723, -0.07796858, -0.0027115715, -0.0030455273, -0.20408951, 0.41163516, 0.2120915, 0.3605208, 0.088888586, -0.08773668, -0.044725675, -0.08375592, 0.05693879) * input_2(1.0, -1.0);
    result += mat4(0.031005671, -0.105379045, -0.19519106, -0.23019247, 0.03825346, -0.04861636, -0.072704285, -0.21387443, -2.0601513, -0.18164341, -0.08853989, -0.35086232, 0.0002757867, -0.016279092, 0.0212083, -0.022768656) * input_2(1.0, 0.0);
    result += mat4(0.009394003, -0.012194982, 0.07844464, -0.037164148, 0.062033534, -0.06443072, -0.0108167315, 0.03289634, 0.0036791146, 0.0031595593, -0.30592433, 0.09214604, 0.0066792327, -0.0020836715, 0.024624046, -0.12205316) * input_2(1.0, 1.0);
    result += mat4(-0.025574781, -0.057287637, -0.0327838, -0.15141478, -0.01010882, 0.041473545, 0.036580913, -0.1356324, -0.00616102, 0.018188894, -0.01457094, 0.08491985, -0.08325591, 0.094972946, -0.03953693, 0.08938469) * input_3(-1.0, -1.0);
    result += mat4(-0.019416852, -0.049047664, 0.017858924, -0.056001104, -0.064291395, 0.10264984, -0.014728819, -0.021133056, -0.10272846, -0.036923442, -0.19348443, 0.043483432, 0.04984051, 0.04588934, -0.019380346, 0.05291083) * input_3(-1.0, 0.0);
    result += mat4(0.10287028, 0.10775463, -0.078792416, -0.0056399074, -0.05619923, 0.04993676, -0.12718448, -0.033596464, -0.014635573, -0.022106398, -0.019507209, 0.010316586, -0.14992157, -0.085520245, 0.1996235, 0.04405545) * input_3(-1.0, 1.0);
    result += mat4(0.043882288, -0.0057493374, -0.0343087, 0.056394745, 0.048641853, 0.023896048, -0.0711091, 0.08492224, 0.20469733, 0.08573198, 0.10643776, 0.049031507, 0.07728044, -0.025821835, 0.0833971, 0.16712844) * input_3(0.0, -1.0);
    result += mat4(0.29409668, 0.14812985, -0.05186909, 0.29351026, 0.12648529, 0.033109825, -0.040835638, 0.41657695, 0.140755, 0.054129895, -0.17151605, -0.042589244, 0.2555382, 0.12415796, 0.020878501, -0.014149308) * input_3(0.0, 0.0);
    result += mat4(0.010264586, 0.05821542, -0.009185117, 0.12714674, -0.04158477, 0.18465738, -0.26451474, 0.10571522, -0.055925623, -0.03337613, 0.1915361, -0.07765801, 0.014422329, 0.06803046, -0.030769538, 0.036549687) * input_3(0.0, 1.0);
    result += mat4(-0.030535357, -0.019540804, 0.021306839, 0.049566325, -0.04649885, 0.009480643, -0.0046726377, 0.0036858472, -0.036572404, 0.018761605, 0.06727847, 0.13329703, -0.07051826, -0.038542774, 0.051589493, -0.02906666) * input_3(1.0, -1.0);
    result += mat4(0.017460896, 0.00089284446, 0.009786537, 0.1110466, -0.04391955, -0.027519504, 0.020642536, 0.109423496, -0.043199986, -0.0086988695, -0.053395454, -0.4435864, 0.035364438, -0.005865098, -0.0967449, -0.09495699) * input_3(1.0, 0.0);
    result += mat4(0.023435425, -0.060523722, -0.012354771, -0.1815126, -0.019080745, -0.03784516, -0.00028803453, -0.09890284, -0.024020486, -0.01632468, 0.10479246, 0.0060822032, -0.084111705, -0.0075870226, 0.019335642, -0.018124165) * input_3(1.0, 1.0);
    result += vec4(-0.031440694, -0.019605238, 0.06944324, -0.0014273009);
    return max(result, vec4(0.0));
}

//!DESC [ArtCNN_Legacy_C4F16_YCbCr] (Conv-2-ReLU)
//!HOOK NATIVE
//!BIND conv2d_1_tf
//!BIND conv2d_1_tf1
//!BIND conv2d_1_tf2
//!BIND conv2d_1_tf3
//!SAVE conv2d_2_tf3
//!WIDTH NATIVE.w
//!HEIGHT NATIVE.h
//!COMPONENTS 4
//!WHEN OUTPUT.w NATIVE.w 1.200 * > OUTPUT.h NATIVE.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_1_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_1_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_1_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_1_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(0.00519318, -0.048090983, -0.16086207, -0.052280743, -0.023393385, 0.030835385, 0.0057265246, -0.07330863, 0.052063722, 0.38750365, -0.10712471, 0.068424635, -0.06809571, 0.029803175, 0.043578375, -0.13481708) * input_0(-1.0, -1.0);
    result += mat4(-0.12825361, -0.03734395, 0.06108072, 0.07066052, -0.0118183745, -0.06182617, 0.049726345, -0.06569196, 0.09491428, 0.06487598, 0.05086121, -0.23016717, -0.09416544, -0.26380494, 0.077278204, 0.031027813) * input_0(-1.0, 0.0);
    result += mat4(0.0392584, -0.06012502, -0.055538714, 0.040212434, -0.009520408, 0.03125161, 0.068161726, -0.043443892, 0.013165348, -0.002608165, 0.070756346, -0.04022469, 0.20309585, -0.0447566, -0.15341945, -0.1516649) * input_0(-1.0, 1.0);
    result += mat4(-0.04936651, 0.19824854, 0.040880352, -0.006589506, 0.075815596, 0.060231313, -0.0070544034, 0.0065330397, -0.08233999, -0.03202713, 0.12410516, -0.065536454, 0.07675565, -0.016161198, -0.06419156, 0.012112415) * input_0(0.0, -1.0);
    result += mat4(-0.10331658, 0.0062256027, 0.083668426, 0.21541005, 0.0050873426, 0.19280075, 0.011803531, -0.09526259, -0.05031338, 0.09404773, -0.014911452, -0.03281248, 0.0020950702, -0.16207376, 0.039848723, 0.10109579) * input_0(0.0, 0.0);
    result += mat4(0.06204797, -0.13137269, 0.23492244, 0.0277555, -0.061335817, 0.10551026, 0.047176912, 0.02541011, 0.004915414, 0.008606045, -0.010097942, -0.0006120284, 0.048962913, 0.070109814, -0.08814565, 0.012703636) * input_0(0.0, 1.0);
    result += mat4(-0.015116124, -0.032151632, -1.3577625, 0.014184524, -0.024743263, -0.13160308, -0.3300599, -0.0071496037, 0.00035663132, -0.011645857, 0.00872524, -0.0038206123, 0.054821886, -0.03029142, -0.12199503, -0.09795008) * input_0(1.0, -1.0);
    result += mat4(-0.20658126, 0.096621715, -0.099922605, -0.04322193, 0.09220622, 0.014493443, -0.17295262, -0.007967978, -0.012701709, -0.0020986556, -0.038470145, 0.007724555, -0.026836539, -0.017582692, -0.048052065, -0.065502666) * input_0(1.0, 0.0);
    result += mat4(-0.10177768, -0.02247139, -0.14680979, 0.10092234, -0.01569465, 0.017691089, 0.046740413, 0.08168558, 0.003365682, 0.006669641, 0.0009278904, 0.0070428997, 0.1381846, 0.1879681, 0.021207731, -0.0043234616) * input_0(1.0, 1.0);
    result += mat4(0.0007363607, 0.043660484, -0.10422878, -0.051725145, -0.016126864, 0.017608408, 0.056229416, 0.067780435, 0.47446248, 0.0044612763, 0.7744227, 0.64775926, 0.0439843, 0.10212989, -0.19982518, -0.10932804) * input_1(-1.0, -1.0);
    result += mat4(-0.033743393, 0.05613365, 0.08106106, 0.0016224269, -0.11861448, 0.8343263, -0.050239693, -0.19025287, -0.054212414, -0.116634645, 0.17258528, 0.16231099, 0.043682102, 0.023225822, 0.10920501, 0.1509321) * input_1(-1.0, 0.0);
    result += mat4(-0.0947033, -0.009867539, 0.16463411, 0.106042795, 0.1752227, -0.3743846, 0.07170372, -0.47506496, 0.1166291, -0.05944742, 0.0729158, -0.086292446, 0.004525936, 0.03176549, -0.15776038, -0.04369659) * input_1(-1.0, 1.0);
    result += mat4(-0.036661316, -0.05943204, -0.08509434, -0.13046667, 0.03814173, -0.09338658, -0.04587892, 0.016703717, 0.41887227, 0.5998631, -0.20866191, 0.02674599, -0.19579178, -0.0906612, -0.20589338, 0.015737792) * input_1(0.0, -1.0);
    result += mat4(-0.15109718, 0.033557266, 0.030476332, 0.087570645, -0.117946774, -0.11265785, -0.12227891, -0.1143804, -0.060349222, 0.1663266, -0.15560934, 0.22504568, -0.19528775, -0.011456504, -0.090331234, 0.081115164) * input_1(0.0, 0.0);
    result += mat4(-0.0109701175, -0.15126751, 0.11768681, -0.04183908, 0.037486676, -0.074977525, 0.06902412, 0.11012165, -0.0044644144, -0.0076863803, -0.14867719, 0.16188985, -0.043022316, -0.038998354, 0.18856852, 0.052383047) * input_1(0.0, 1.0);
    result += mat4(-0.049147435, 0.01577157, -0.81506485, -0.024740886, 0.022551663, -0.020507233, -0.14704694, -0.020934528, 0.09316045, -0.23030818, 0.027844973, -0.19658828, 0.09459242, 0.03110602, -0.22291873, 0.027132468) * input_1(1.0, -1.0);
    result += mat4(-0.0072836736, 0.0058215153, -0.552847, -0.04047563, 0.12923962, 0.019003656, 0.050592802, 0.13042463, 0.03449672, -0.07941733, -0.4760299, 0.07565416, 0.02294095, 0.042321075, 0.5267125, 0.0735708) * input_1(1.0, 0.0);
    result += mat4(-0.023370937, 0.047167953, -0.043642104, 0.0066611916, -0.12555453, -0.077122845, -0.14407021, -0.074040696, -0.014297371, -0.0059670927, 0.21386099, 0.034453385, 0.051501136, -0.05578943, 0.06821267, 0.042678695) * input_1(1.0, 1.0);
    result += mat4(0.016664306, 0.11342349, 0.24065076, 0.13476433, -0.029412266, -0.06701408, 0.095448256, 0.16514596, 0.040727906, 0.0025894926, -0.4128061, 0.020786112, 0.050131634, -0.24992746, 0.18582852, -0.11676085) * input_2(-1.0, -1.0);
    result += mat4(0.09926483, 0.08361619, 0.07471279, -0.04833466, 0.1145147, 0.058417674, -0.14739434, -0.12719546, -0.012468879, 0.006293661, 0.24232195, -0.06319718, -0.08589614, 0.028092338, -0.32363054, 0.019948024) * input_2(-1.0, 0.0);
    result += mat4(-0.017486088, 0.06456084, -0.012951268, 0.013560035, -0.029250056, 0.0043791053, 0.010874038, -0.058606304, -0.004533918, -0.05482863, -0.3020515, -0.07412331, 0.013939463, -0.034945536, 0.15066491, -0.06335772) * input_2(-1.0, 1.0);
    result += mat4(-0.05347215, -0.01705863, -0.14416146, 0.00627184, -0.05759251, -0.022388838, -0.09673706, 0.044805516, -0.053170566, 0.113331005, -0.37044156, -0.08953935, 0.16754384, 0.005976245, -0.058379076, -0.1146445) * input_2(0.0, -1.0);
    result += mat4(0.2234821, 0.2965166, -0.24666609, 0.22377025, 0.10416224, -0.031321965, 0.1842556, 0.2561743, -0.13337697, 0.115582705, 0.19494782, -0.17065768, 0.20272936, -0.06317696, 0.18508357, 0.37218395) * input_2(0.0, 0.0);
    result += mat4(0.07959396, 0.03665254, -0.022898678, -0.025729584, -0.059352305, 0.04506088, 0.0635754, -0.09039012, 0.0897962, 0.17079191, 0.39218858, -0.01791231, 0.015614851, 0.021687526, -0.016259244, 0.06795373) * input_2(0.0, 1.0);
    result += mat4(-0.04412927, 0.07412621, 0.019724233, -0.079168916, 0.02201675, 0.121702604, -0.3611612, 0.012853203, 0.21378332, 0.28106225, -0.5377577, -0.13976671, 0.25220233, -0.025402239, -0.29505748, 0.119810574) * input_2(1.0, -1.0);
    result += mat4(0.24254362, -0.12384208, -0.9116545, -0.059184372, 0.031500753, -0.12739599, 0.048918575, -0.14885588, 0.80627, -0.32943013, 1.3559556, -0.19722854, 0.14842755, -0.10580172, -0.038602713, 0.027337044) * input_2(1.0, 0.0);
    result += mat4(0.06412011, 0.024644678, 0.15785381, -0.028549124, -0.00046153468, 0.040639725, 0.12842068, 0.018032778, 0.19951469, -0.2205057, -0.71341026, -0.09233661, 0.112042405, -0.046585627, 0.0847907, -0.07444251) * input_2(1.0, 1.0);
    result += mat4(0.048254047, 0.040029395, -0.0055662817, 0.062673494, -0.006117112, -0.027121091, 0.06612186, 0.049424596, -0.050642386, -0.06291313, -0.13206707, 0.11077021, 0.0019695256, 0.022574544, -0.06629598, -0.018693786) * input_3(-1.0, -1.0);
    result += mat4(-0.16934814, 0.08104262, 0.04809292, -0.03706256, 0.06313972, -0.036926545, -0.048706513, -0.043382872, 0.027296884, 0.050939634, 0.12898254, 0.05314088, 0.05071002, -0.025362985, 0.053343825, 0.114396885) * input_3(-1.0, 0.0);
    result += mat4(0.03208565, 0.03543038, 0.25698754, 0.041728735, 0.0021849747, -0.08826539, -0.052631803, -0.028480856, 0.014567092, 0.03383434, 0.048993174, -0.0026746374, -0.109231636, -0.054933004, 0.019340124, 0.057182506) * input_3(-1.0, 1.0);
    result += mat4(0.004047282, 0.0604004, -0.13151787, -0.0840577, 0.06866192, 0.044143952, 0.10971411, -0.06211776, -0.04102135, -0.07884, 0.14200589, -0.017334078, -0.0213098, 0.05372396, 0.034158394, 0.09643811) * input_3(0.0, -1.0);
    result += mat4(0.04484189, 0.27232566, -0.36836538, 0.04342903, -0.16450103, 0.017218329, -0.033309747, -0.1049278, 0.25333187, -0.06673128, -0.027900366, -0.002531936, 0.1370629, 0.13933198, 0.25551555, 0.10492502) * input_3(0.0, 0.0);
    result += mat4(-0.03499131, -0.098961055, 0.21360083, 0.08714811, -0.10248531, 0.0055603045, -0.06803784, 0.05381386, -0.040850967, 0.04149507, 0.051552117, -0.0065343673, 0.018908525, -0.045093976, 0.072084956, -0.035817344) * input_3(0.0, 1.0);
    result += mat4(0.026618982, 0.0031993776, -0.20753686, -0.007591297, -0.0009728685, 0.012641984, -0.06538562, -0.012260221, -0.0043247775, 0.060724705, -0.18841636, -0.0017891045, -0.074788414, -0.023945823, -0.16502522, 0.016760746) * input_3(1.0, -1.0);
    result += mat4(0.07968318, 0.14939609, 0.23060027, -0.03833269, 0.082818285, 0.096568465, 0.03156215, 0.032286566, 0.09909742, -0.055683233, -0.043440994, -0.04744103, -0.1108855, 0.10324333, -0.09725853, -0.1080098) * input_3(1.0, 0.0);
    result += mat4(0.038710024, -0.019323176, 0.06015761, -0.07407068, 0.026326675, -0.03704637, 0.008551964, -0.017492322, 0.13872299, 0.07287968, -0.0687095, 0.05713299, -0.05982589, -0.0087199425, -0.11424327, 0.038379434) * input_3(1.0, 1.0);
    result += vec4(0.09609736, -0.021145495, -0.037315484, 0.09389817);
    return max(result, vec4(0.0));
}

//!DESC [ArtCNN_Legacy_C4F16_YCbCr] (Conv-3-ReLU)
//!HOOK NATIVE
//!BIND conv2d_2_tf
//!BIND conv2d_2_tf1
//!BIND conv2d_2_tf2
//!BIND conv2d_2_tf3
//!SAVE conv2d_3_tf
//!WIDTH NATIVE.w
//!HEIGHT NATIVE.h
//!COMPONENTS 4
//!WHEN OUTPUT.w NATIVE.w 1.200 * > OUTPUT.h NATIVE.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_2_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_2_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_2_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_2_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(-0.034750033, -0.028894205, -0.05623747, 0.037801437, 0.06636058, -0.15257011, -0.022196073, 0.27176535, -0.049773492, -0.09410559, -0.07663524, 0.079955734, -0.023411315, -0.008225997, -0.11807649, 0.057739127) * input_0(-1.0, -1.0);
    result += mat4(0.0612837, 0.068628535, -0.0941421, 0.033917844, -0.19523415, -0.077516384, 0.10535566, -0.0117190145, -0.036169022, 0.10463054, -0.14703505, -0.0053544044, 0.038437128, -0.060709484, -0.09430848, 0.5070564) * input_0(-1.0, 0.0);
    result += mat4(-0.016873494, -0.10718157, -0.03698972, 0.05155323, -0.018065544, -0.2596483, 0.06444232, 0.043236014, -0.027111359, 0.10701796, -0.04901811, -0.011788598, -0.005530482, 0.07677712, -0.072401, -0.17531408) * input_0(-1.0, 1.0);
    result += mat4(0.15210253, 0.07210908, 0.006114353, 0.06946998, -0.049874187, 0.064344354, 0.007958681, 0.30103493, 0.13688996, 0.011780676, 0.063602544, -0.19495822, 0.028119313, 0.02576422, -0.027987039, 0.017537734) * input_0(0.0, -1.0);
    result += mat4(-0.029667174, 0.11109249, -0.09131343, 0.14015393, -0.20443572, 0.38583833, -0.047635783, -0.055911157, 0.05544995, 0.25334248, -0.16896, 0.094516486, 0.044492967, 0.08146802, 0.027523825, -0.074518755) * input_0(0.0, 0.0);
    result += mat4(-0.1260066, 0.15765968, -0.03380214, -0.045075137, 0.2322115, 0.021718837, 0.08941103, 0.006483312, 0.06123632, -0.0010352628, 0.07428519, 0.0439264, 0.070328206, -0.039780002, -0.010885039, -0.022237113) * input_0(0.0, 1.0);
    result += mat4(-0.08195426, -0.08815213, 0.13244191, -0.09683373, 0.18275224, 0.080067836, -0.014943232, -0.14641258, -0.06929195, -0.03460084, 0.11477262, -0.011724163, -0.020296589, -0.02519015, 0.018954309, -0.052088168) * input_0(1.0, -1.0);
    result += mat4(-0.0262382, 0.039608076, -0.13080412, 0.011975451, 0.12274399, 0.034719147, 0.083169155, 0.18751493, -0.028542815, 0.020496616, 0.052810613, -0.07443731, -0.0048490623, 0.01686353, 0.011637982, 0.03799179) * input_0(1.0, 0.0);
    result += mat4(0.037490807, -0.05022048, -0.058349773, -0.012408449, -0.013887311, 0.08856848, 0.05388234, -0.030606207, -0.11138901, -0.15561256, 0.09811939, 0.057150077, -0.010431137, 0.037205216, 0.04952745, -0.00787216) * input_0(1.0, 1.0);
    result += mat4(-0.06848464, -0.13625447, -0.11706951, 0.034442805, 0.06493894, 0.1905561, 0.12523364, -0.012826793, 0.054539204, 0.008482866, -0.092049204, -0.08619253, -0.045518856, -0.028400542, -0.16103968, 0.017190173) * input_1(-1.0, -1.0);
    result += mat4(0.13162237, -0.2527754, -0.08730167, 0.25142205, -0.06009994, -0.018905582, 0.023825029, 0.21328795, -0.041382775, 0.040150695, 0.12383803, -0.111390844, -0.031802427, 0.13127519, -0.05988635, -0.0108193) * input_1(-1.0, 0.0);
    result += mat4(0.045901522, -0.28368133, -0.04990829, 0.11864141, 0.09218127, -0.0018886927, -0.04242871, -0.03739389, -0.027025873, 0.00029726597, 0.07394134, 0.26747367, 0.07758981, -0.17494684, -0.030771011, -0.006139652) * input_1(-1.0, 1.0);
    result += mat4(0.07567965, 0.10879332, 0.036386076, 0.041016895, 0.0677905, 0.045747, 0.07330741, -0.03748484, -0.0159457, -0.048706554, -0.103364915, -0.03134868, -0.0030673468, 0.00794837, -0.110245444, -0.02719997) * input_1(0.0, -1.0);
    result += mat4(-0.039178364, -0.049858924, -0.1625806, -0.07418898, 0.05844471, 0.1251455, -0.044018008, -0.003052777, 0.005274042, -0.040301498, -0.016365703, 0.3440629, -0.054353993, 0.12012511, -0.038447622, 0.020827908) * input_1(0.0, 0.0);
    result += mat4(0.056808885, -0.08296524, 0.10343096, -0.13601124, -0.9345806, -0.07538987, -0.023844264, 0.0076721804, 0.078278616, 0.073911, 0.012026798, 0.09986958, -0.10937521, 0.16858687, 0.11974599, 0.077314734) * input_1(0.0, 1.0);
    result += mat4(0.037723344, 0.006755519, -0.04215357, -0.0072250543, -0.095153324, -0.09245236, -0.12280386, -0.008173421, -0.024686448, 0.004460344, -0.14670236, -0.037723564, 0.03767013, -0.027247526, -0.0066872863, 0.044569638) * input_1(1.0, -1.0);
    result += mat4(-0.035172116, 0.06772024, -0.008096469, -0.07307778, 0.03271695, -0.0019237365, -0.14292455, 0.059007764, -0.050480355, -0.025838405, 0.08885891, -0.0025897622, 0.1158815, -0.106610544, 0.005188058, 0.07965863) * input_1(1.0, 0.0);
    result += mat4(-0.15477578, -0.038073983, -0.13407424, 0.0055910554, -2.6392841, 0.019721191, 0.06868408, -0.011791055, 0.010774235, -0.095029086, -0.12044355, -0.06262229, -0.07169776, -0.06299916, 0.12126288, 0.022411155) * input_1(1.0, 1.0);
    result += mat4(-0.059739698, -0.0186952, -0.08952714, -0.111225024, -0.021666657, -0.05080171, -0.08675476, -0.003561325, 0.032745108, 0.017802404, 0.07553263, -0.008509953, 0.025304, 0.024148358, -0.0011614197, 0.03430346) * input_2(-1.0, -1.0);
    result += mat4(0.08405651, -0.085905954, 0.025260769, -0.02220582, -0.08186289, 0.13243018, 0.098098375, -0.0525195, -0.008182549, -0.065557644, -0.062661335, -0.116677865, 0.16547212, 0.055582073, 0.12859285, 0.43187937) * input_2(-1.0, 0.0);
    result += mat4(0.016533503, -0.29687557, -0.1442022, 0.030971082, 0.047203124, -0.16481799, 0.095105715, -0.0078435615, -0.04325704, 0.121265694, -0.0031754223, 0.009490644, 0.065034434, -0.11704123, 0.12629941, -0.12365249) * input_2(-1.0, 1.0);
    result += mat4(0.07172032, -0.02433805, -0.037918866, -0.04658594, 0.03038463, -0.028919173, 0.115640536, 0.028912146, -0.056428418, 0.15649945, -0.049366105, -0.18698709, -0.0029421728, -0.04348208, -0.054057416, -0.022386977) * input_2(0.0, -1.0);
    result += mat4(0.16856804, 0.25178063, -0.008278588, -0.10599049, 0.05516221, 0.11179908, 0.03582528, -0.04446683, 0.08282012, 0.1274036, -0.1019101, -0.16583127, -0.057033647, -0.0953452, 0.013734834, 0.13016926) * input_2(0.0, 0.0);
    result += mat4(0.13861309, 0.14424005, 0.013472909, 0.06563743, -0.032953713, -0.044388767, -0.109438024, -0.028204912, -0.10634973, -0.046393562, -0.060203016, 0.06590353, 0.01445332, 0.09744117, -0.10063885, -0.1924404) * input_2(0.0, 1.0);
    result += mat4(-0.01730322, -0.04535971, -0.116046645, 0.028610988, -0.06425791, -0.08228028, 0.019562067, -0.0006947231, 0.100032106, -0.10137703, 0.009076342, 0.09859737, -0.013931524, 0.0662351, -0.07697823, -0.031136354) * input_2(1.0, -1.0);
    result += mat4(0.14669898, 0.02698968, -0.14790109, -0.06377287, -0.041905265, 0.0031593742, 0.0034319644, 0.056250438, -0.14744556, -0.0045551346, 0.047696274, -0.0109878685, 0.057727225, 0.11873152, 0.100554384, 0.012928424) * input_2(1.0, 0.0);
    result += mat4(-0.13640639, -0.11326575, 0.05707719, 0.044378106, -0.0460479, -0.05501404, -0.11637271, 0.028863035, -2.4050071, 0.002793271, -0.04176337, 0.026461331, 0.030977026, -0.00959151, -0.028832735, -0.01647988) * input_2(1.0, 1.0);
    result += mat4(-0.0016794674, -0.06381672, -0.13764495, -0.046939023, -0.0043317927, 0.058166977, 0.09371493, 0.12597363, -0.05607666, -0.24627501, 0.12866668, 0.077620074, -0.03145328, 0.04330342, 0.012422405, 0.014438597) * input_3(-1.0, -1.0);
    result += mat4(-0.01677592, 0.08089825, -0.10431974, -0.11006217, -0.058320824, -0.07609528, 0.073203176, 0.13023244, -0.0058655185, -0.16297339, 0.06702516, -0.015514905, 0.059743468, -0.21175121, -0.0762563, -0.0011003956) * input_3(-1.0, 0.0);
    result += mat4(-0.07334675, 0.21122073, 0.09220845, -0.0108679775, -0.12706667, 0.058083884, 0.066202156, -0.05626694, 0.07027964, 0.082492486, -0.15215735, -0.11609194, -0.057623487, 0.1729746, 0.07279782, 0.021776391) * input_3(-1.0, 1.0);
    result += mat4(-0.020275468, -0.006959366, 0.025046624, -0.006201802, -0.047409218, -0.009710017, -0.06272775, -0.06933691, 0.0017213353, 0.08562989, 0.09552449, -0.026835417, 0.053717915, -0.05891521, -0.075289406, 0.11517907) * input_3(0.0, -1.0);
    result += mat4(-0.09277736, -0.0085979905, -0.06314649, 0.011214366, 0.057067614, 0.1225043, -0.14877006, -0.07095462, 0.41606435, 0.10516514, -0.12932718, 0.069699414, -0.047438376, 0.006565585, -0.105639696, -0.102595724) * input_3(0.0, 0.0);
    result += mat4(-0.017229589, -0.040985584, -0.14196253, 0.035184465, 0.25300223, -0.10408688, -0.13723315, 0.13000849, -0.048521254, -0.97319573, -0.1489085, 0.024062956, 0.04027294, -0.03296542, 0.002400757, -0.033759028) * input_3(0.0, 1.0);
    result += mat4(0.093899, 0.056062475, -0.010182897, 0.006208152, -0.062994726, -0.061150387, 0.052400265, -0.075659215, -0.22886875, -0.21704808, -0.09635196, 0.021394046, -0.13807502, -0.054306924, -0.08847306, -0.01450895) * input_3(1.0, -1.0);
    result += mat4(-0.036329698, -0.008366314, 0.0033023318, -0.009493969, 0.07225491, -0.025153024, 0.02598491, 0.048687886, 0.30025572, 0.14083287, -0.10028528, 0.053608313, 0.019654699, 0.022149496, 0.010967076, -0.011939539) * input_3(1.0, 0.0);
    result += mat4(-0.09108606, -0.0793593, 0.043329127, 0.03392436, -0.09020057, 0.07706277, 0.067435965, -0.02902736, -0.724981, -0.6885686, -0.101764254, 0.017501004, 0.097372055, -0.049157064, -0.06817501, 0.04412186) * input_3(1.0, 1.0);
    result += vec4(0.02078412, -0.03173157, -0.027099049, 0.06328162);
    return max(result, vec4(0.0));
}

//!DESC [ArtCNN_Legacy_C4F16_YCbCr] (Conv-3-ReLU)
//!HOOK NATIVE
//!BIND conv2d_2_tf
//!BIND conv2d_2_tf1
//!BIND conv2d_2_tf2
//!BIND conv2d_2_tf3
//!SAVE conv2d_3_tf1
//!WIDTH NATIVE.w
//!HEIGHT NATIVE.h
//!COMPONENTS 4
//!WHEN OUTPUT.w NATIVE.w 1.200 * > OUTPUT.h NATIVE.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_2_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_2_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_2_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_2_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(0.022105977, -0.15653867, 0.031467564, 0.06348606, -0.0535318, 0.12732203, -0.079352885, -0.10420526, 0.0010780606, 0.066158295, -0.014474028, -0.20098282, 0.086225525, 0.015450317, 0.056498706, 0.0141550405) * input_0(-1.0, -1.0);
    result += mat4(0.36154017, 0.07609215, -0.10195405, -0.103838034, -0.11795919, -0.120720156, 0.014774721, -0.16884859, 0.24938458, -0.004963937, 0.018867176, 0.04410971, -0.12083756, -0.023227127, -0.29397288, 0.27890062) * input_0(-1.0, 0.0);
    result += mat4(0.1954932, -0.06986231, -0.110239275, 0.041143417, 0.10931175, 0.12713103, -0.04891602, 0.06373639, -0.010759136, -0.02563895, -0.034066, 0.019976387, 0.039340816, -0.08778282, 0.06388621, 0.09632625) * input_0(-1.0, 1.0);
    result += mat4(0.15359858, 0.05112626, -0.004516734, 0.027532356, 0.18761791, -0.08565542, 0.18162578, -0.17415643, -0.06604506, -0.0022211412, -0.009084075, -0.0011002542, 0.23492871, 0.048501585, 0.09091564, -0.11079139) * input_0(0.0, -1.0);
    result += mat4(-0.25851303, 0.17170933, -0.11033514, 0.16085102, 0.13069353, -0.077718705, -0.12492244, -0.013480084, 0.1831523, -0.13746472, -0.005032156, 0.0022543238, -0.0501839, -0.031744756, -0.033456855, -0.0066617546) * input_0(0.0, 0.0);
    result += mat4(0.20526117, -0.0016438689, -0.0199037, 0.013893179, 0.09750924, 0.02011309, 0.03598246, -0.004365628, 0.050870582, -0.11512789, 0.056716926, 0.05892924, -0.022096789, -0.17556062, -0.017967513, 0.062461905) * input_0(0.0, 1.0);
    result += mat4(0.10151378, -0.07217535, 0.17284597, -0.0801029, -0.10769454, -0.16831365, -0.062887624, 0.029641565, 0.10659246, 0.007161243, -0.004858319, 0.034000862, -0.10045867, -0.006780013, 0.029840449, -0.0019212723) * input_0(1.0, -1.0);
    result += mat4(-0.15052369, 0.17944331, -0.030691918, -0.006930529, -0.33560368, 0.11452792, -0.06473112, 0.014479042, -0.09866505, 0.05154051, -0.03673706, 0.040475518, -0.08013708, -0.010649789, -0.11084232, 0.05950338) * input_0(1.0, 0.0);
    result += mat4(-0.20414653, 0.06711514, -0.012134757, 0.086084925, 0.024108768, -0.019304883, -0.019083269, -0.004267795, -0.10636216, 0.06864138, -0.055782016, 0.0050399094, -0.09709159, -0.006301726, -0.13735394, 0.00070441584) * input_0(1.0, 1.0);
    result += mat4(-0.0075882105, 0.024953872, 0.0917755, -0.3993015, -0.19725934, -0.10372463, -0.035090204, -0.21992984, 0.13935898, 0.008791555, 0.011356564, 0.10747291, -0.013401797, 0.027000684, 0.004793264, 0.0052855574) * input_1(-1.0, -1.0);
    result += mat4(-0.21419582, -0.089161545, -0.08546739, 0.027537487, -0.11912287, -0.32029775, 0.020767089, 0.16332644, -0.28358275, 0.035996724, -0.018118937, 0.28841618, -0.07640364, -0.0811953, -0.027483208, -0.34292802) * input_1(-1.0, 0.0);
    result += mat4(-0.48843083, 0.013516937, 0.082221895, -0.093696475, -0.112779625, -0.46188396, -0.0030265087, 0.12985899, -0.283455, -0.06332379, -0.14155592, 0.09397833, 0.1087119, 0.12177708, -0.07246279, -0.041747637) * input_1(-1.0, 1.0);
    result += mat4(-0.21253027, 0.056816608, -0.03042581, -0.09741125, 0.01419131, 0.0854004, 0.04858936, 0.04081125, -0.36225435, -0.013928751, 0.08031353, 0.06834322, 0.07533659, 0.1360378, 0.07712248, 0.06410795) * input_1(0.0, -1.0);
    result += mat4(-0.3163792, 0.03291409, 0.026864786, 0.11943018, -0.44305196, -0.05353809, -0.12978801, 0.016272074, -0.328516, 0.06549931, -0.23108336, -0.005314121, -0.036757033, -0.11332458, -0.0014893619, -0.025678903) * input_1(0.0, 0.0);
    result += mat4(0.014033505, -0.051536117, 0.02267151, -0.08850686, -0.18731086, 0.16201842, -0.027274417, 0.07419773, -0.063869186, 0.07414766, -0.46422046, -0.05482804, 0.16025682, -0.06192184, 0.037822235, -0.10850832) * input_1(0.0, 1.0);
    result += mat4(-0.14015466, 0.023958853, 0.004856805, -0.004451322, 0.08989405, 0.02742173, 0.063416906, 0.021023836, 0.061320413, -0.0020968264, -0.037091132, -0.0066027273, 0.08120845, -0.039243013, -0.014682997, 0.009855677) * input_1(1.0, -1.0);
    result += mat4(-0.045576647, -0.05229322, -0.08248907, 0.07089559, 0.020462142, 0.08658632, 0.10841227, -0.026839342, -0.14921552, 0.0070759202, -0.013716035, -0.04994472, -0.125072, -0.018118676, 0.016592775, 0.034616295) * input_1(1.0, 0.0);
    result += mat4(-0.02520804, -0.09168242, 0.048387296, 0.0020130482, 0.041647106, -0.03798035, -0.027610041, 0.04545037, 0.12023283, -0.054731216, 0.0067296615, 0.021750648, -0.021101715, -0.10583545, 0.01914262, 0.010426307) * input_1(1.0, 1.0);
    result += mat4(-0.061427236, -0.026182635, -0.025046768, -0.28365824, -0.42398784, 0.046160415, -0.03873304, -0.016291782, -0.024274308, -0.062365904, 0.053968593, 0.054803215, 0.26267233, -0.02369922, 0.06598514, -0.07522493) * input_2(-1.0, -1.0);
    result += mat4(-0.44547802, 0.0020035729, -0.09746579, 0.011986436, 0.015015995, -0.04937164, 0.04261726, -0.2207673, 0.10535503, -0.07122349, 0.1348016, -0.069681875, -0.47190985, 0.14387299, -0.4678775, -0.019924935) * input_2(-1.0, 0.0);
    result += mat4(-0.20197871, -0.035082668, 0.0118407225, 0.058365483, -0.8208719, 0.04689545, -0.09157994, 0.09485388, 0.10520132, -0.7663326, -0.040207382, 0.048305325, 0.4861068, -0.18812598, -0.020150969, -0.1273271) * input_2(-1.0, 1.0);
    result += mat4(-0.08405902, -0.102426216, -0.074340634, 0.026029179, 0.034342583, 0.06980601, -0.019897094, 0.18343364, -0.0932276, -0.10574681, -0.04068936, 0.0033560565, -0.32507235, -0.036588527, 0.064783536, -0.13772546) * input_2(0.0, -1.0);
    result += mat4(-0.02237072, 0.12791903, -0.0846972, 0.08475775, 0.24042691, -0.14023292, 0.051169038, -0.03865008, -0.053515222, -0.017593874, 0.026380137, 0.11242657, -0.38070142, 0.17424434, 0.22845958, -0.021703942) * input_2(0.0, 0.0);
    result += mat4(-0.04294426, -0.00020785852, 0.10313455, -0.119981416, 0.55536336, 0.037982587, 0.080812976, 0.017274003, 0.08937826, 0.14275908, 0.068572685, -0.022946864, 0.19405709, -0.15032613, 0.14935562, 0.007939642) * input_2(0.0, 1.0);
    result += mat4(-0.11610465, 0.028470192, 0.08935334, 0.037233412, -0.08229783, -0.02627469, -0.043954063, 0.05541044, 0.043210305, 0.0017929052, 0.045426108, 0.07670175, 0.21893463, 0.00913616, -0.07908088, -0.007960786) * input_2(1.0, -1.0);
    result += mat4(0.18061438, -0.01799435, -0.059834134, 0.012229232, -0.21875781, -0.03969421, -0.040884152, -0.10682281, 0.040558822, 0.03145802, -0.07221845, 0.020264903, -0.1826785, 0.06735455, -0.015817795, 0.011509867) * input_2(1.0, 0.0);
    result += mat4(0.011662034, -0.038987108, 0.042003717, -0.00033966312, 0.06053803, 0.021341696, 0.112599924, 0.025507914, 0.0074176867, -0.064198725, -0.030699389, -0.0076347813, 0.041186795, -0.09249404, -0.01908078, -0.054893043) * input_2(1.0, 1.0);
    result += mat4(-0.20416334, -0.004052342, 0.0011393834, -0.17586213, -0.17959358, -0.04002477, -0.007916672, -0.10622531, -0.06336903, -0.12784721, -0.06464551, 0.005342346, 0.0065977518, -0.0355792, -0.030058425, -0.2407456) * input_3(-1.0, -1.0);
    result += mat4(-0.08366374, 0.0054128654, 0.111735046, -0.05136351, 0.40371445, 0.03248507, 0.061645687, 0.08745401, 0.41025802, -0.15079717, 0.035490714, 0.24312444, -0.12824556, -0.055006206, 0.069465496, -0.01243293) * input_3(-1.0, 0.0);
    result += mat4(0.38281384, -0.11381618, 0.061428856, -0.07223593, 0.45034364, 0.019033074, 0.03073761, 0.06607447, 0.10718911, 0.036253754, 0.14632432, -0.19309197, -0.08052196, -0.10161964, 0.006919855, 0.03722607) * input_3(-1.0, 1.0);
    result += mat4(-0.017332481, 0.046658184, -0.023933476, -0.115334466, -0.041933235, -0.01658009, 0.04055182, 0.0411728, -0.06152113, 0.04084992, 0.03415986, -0.071193635, -0.33781743, 0.16959952, 0.001734029, 0.13969353) * input_3(0.0, -1.0);
    result += mat4(0.09412475, 0.042187203, 0.15450326, 0.13500984, -0.042020995, 0.052537292, -0.105423264, 0.05273826, -0.14210717, 0.07378502, 0.044948336, 0.39314952, -0.19959438, 0.25424063, 0.18889078, -0.10028101) * input_3(0.0, 0.0);
    result += mat4(0.004841374, -0.12570871, 0.006964481, -0.034469504, -0.23006937, 0.02197498, 0.05252283, -0.024127966, -0.098336376, -0.43339917, -0.057011582, -0.07503998, 0.15522373, 0.058642056, 0.049991593, -0.022858266) * input_3(0.0, 1.0);
    result += mat4(-0.13625035, -0.037632503, -0.07974681, 0.039117932, -0.08860575, -0.043139365, 0.03922338, 0.005180279, -0.2291045, -0.0118050845, 0.07404946, 0.085142605, -0.006244327, -0.007774199, -0.025915228, -0.07786832) * input_3(1.0, -1.0);
    result += mat4(0.054878376, 0.00033123448, -0.033384427, 0.015595427, 0.034087297, 0.06694004, -0.038060136, -0.03007769, 0.098748, 0.049563725, 0.020275652, 0.016682342, -0.04988839, 0.06700049, 0.07982395, 0.052001968) * input_3(1.0, 0.0);
    result += mat4(0.09470057, -0.00623645, -0.016808573, -0.04614201, 0.04140392, 0.11703639, 0.05486467, 0.0093899565, -0.092511825, 0.11405765, 0.06396726, -0.002978629, -0.07859693, -0.10929285, -0.028979987, -0.03747363) * input_3(1.0, 1.0);
    result += vec4(0.023614483, 0.08407067, 0.0884805, 0.117067635);
    return max(result, vec4(0.0));
}

//!DESC [ArtCNN_Legacy_C4F16_YCbCr] (Conv-3-ReLU)
//!HOOK NATIVE
//!BIND conv2d_2_tf
//!BIND conv2d_2_tf1
//!BIND conv2d_2_tf2
//!BIND conv2d_2_tf3
//!SAVE conv2d_3_tf2
//!WIDTH NATIVE.w
//!HEIGHT NATIVE.h
//!COMPONENTS 4
//!WHEN OUTPUT.w NATIVE.w 1.200 * > OUTPUT.h NATIVE.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_2_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_2_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_2_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_2_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(0.007887628, 0.009643477, -0.5963028, -0.05547218, -0.16154835, 0.097851396, -0.04701567, 0.0207109, 0.031073457, 0.20461075, -0.66120905, -0.058651224, 0.0076288166, 0.016791485, 0.11250576, -0.06147014) * input_0(-1.0, -1.0);
    result += mat4(0.07044319, 0.04105707, 0.14067104, -0.017466972, -0.08662948, -0.038594928, 0.041025754, 0.078139804, 0.04938096, 0.0992094, 0.07196217, -0.17306003, -0.23112682, 0.046079285, 0.085625984, 0.011293659) * input_0(-1.0, 0.0);
    result += mat4(-0.07182581, 0.006211875, -0.003807694, 0.03071498, -0.021290926, -0.04938373, -0.13796522, -0.02428419, 0.013258925, -0.019817237, -0.03106152, 0.0034254359, 0.048591726, 0.10125683, 0.2148831, 0.13272144) * input_0(-1.0, 1.0);
    result += mat4(-0.30394757, -0.05356788, 0.018565256, 0.02844942, 0.25703472, -0.045872238, 0.049790848, -0.078644395, -0.18779036, -0.14437155, 0.1138282, 0.31318364, 0.06509248, -0.09750303, -0.07646622, -0.13894275) * input_0(0.0, -1.0);
    result += mat4(-0.15416923, -0.08296017, 0.13601422, 0.06228574, 0.018561738, 0.10205506, 0.4231605, -0.06395386, 0.065919094, -0.37286544, 0.12710746, 0.13340978, 0.13826627, -0.028439898, 0.1724684, 0.14055485) * input_0(0.0, 0.0);
    result += mat4(0.0141898785, 0.030049322, -0.036659583, -0.0035394423, 0.14409088, -0.05811699, 0.010845152, -0.009574053, -0.07681214, 0.17379957, -0.053277243, -0.14151675, -0.15463506, 0.16578367, 0.03189237, -0.04014581) * input_0(0.0, 1.0);
    result += mat4(-0.11582786, 0.077772714, -0.16006127, -0.058678403, -0.38708436, 0.20767166, 0.30144772, -0.17959708, -0.051083248, 0.030394726, -0.07494433, -0.035540193, -0.021672381, -0.054297324, 0.018259548, -0.052185237) * input_0(1.0, -1.0);
    result += mat4(0.045050185, 0.12434938, 0.108807825, 0.04676449, 0.09406278, -0.15911716, 0.17583875, 0.045897182, -0.02155007, 0.04507685, 0.19413607, 0.011724629, -0.03603681, 0.023783168, 0.057937585, 0.111336306) * input_0(1.0, 0.0);
    result += mat4(0.025853213, 0.004710235, 0.033587087, -0.02068286, 0.013911497, 0.04578575, -0.04719183, 0.026059793, 0.06454136, -0.029908864, -0.16556688, -0.002615535, 0.0033598873, -0.020358961, -0.03973766, 0.00070468796) * input_0(1.0, 1.0);
    result += mat4(0.12751825, -0.06554331, -0.3078053, 0.07170203, 0.0146825705, -0.09392826, -0.6283401, -0.1651036, 0.04874781, -0.050544497, -0.34629914, -0.07061154, -0.069853984, -0.027771756, -0.7767408, -0.0445744) * input_1(-1.0, -1.0);
    result += mat4(0.00047398126, -0.05136471, -0.09770788, 0.002540689, -0.016813831, -0.09771023, 0.19558902, -0.058005814, -0.15286392, -0.06930099, 0.11333014, 0.1041962, -0.007940051, 0.0811897, -0.24354307, -0.029010698) * input_1(-1.0, 0.0);
    result += mat4(-0.0091973655, -0.13374554, 0.032569695, 0.108883135, 0.023255324, 0.07564583, 0.07010637, -0.02881516, -0.33287024, -0.0759855, -0.23692717, -0.18084094, 0.028726356, 0.007603179, -0.19853988, -0.011149585) * input_1(-1.0, 1.0);
    result += mat4(0.04625069, 0.027486635, -0.010764645, -0.20208818, 0.1470073, 0.054440767, 0.27108654, -0.11832217, 0.04506329, 0.08195735, 0.10925013, -0.054846607, 0.118727624, 0.09295599, 0.1783137, -0.1177939) * input_1(0.0, -1.0);
    result += mat4(0.032052748, -0.00449174, -0.2039793, 0.0071960646, -0.0060501616, 0.16125873, -0.042948093, 0.16038126, -0.2805763, 0.028092418, 0.08843614, 0.24909166, -0.11095954, 0.30191958, -0.07320134, -0.00995803) * input_1(0.0, 0.0);
    result += mat4(-0.07384188, 0.10391018, -0.1281292, 0.07402372, 0.07868983, 0.09379861, -0.07524573, -0.014123106, 0.2276269, -0.17796183, -0.13054848, 0.018564949, -0.052490525, -0.045529418, 0.05640217, -0.010026395) * input_1(0.0, 1.0);
    result += mat4(0.037229035, -0.036324926, -0.060834344, -0.075846046, -0.06352903, 0.054442275, 0.03512654, 0.053670973, -0.00041366357, 0.072672784, -0.0070394045, 0.072584964, -0.02490743, 0.010264228, -0.09538429, 0.06149992) * input_1(1.0, -1.0);
    result += mat4(0.14397214, 0.032557365, -0.045703497, -0.052492175, -0.052390873, 0.08750586, -0.2214974, 0.06648963, 0.09868469, -0.004753667, -0.076107115, -0.03363521, 0.0089552505, 0.037288766, -0.07586857, 0.08084495) * input_1(1.0, 0.0);
    result += mat4(0.00916225, -0.06814806, -0.029876199, -0.005224015, 0.0019103284, 0.005048389, 0.029939488, -0.020727592, 0.02990344, 0.015252049, -0.031097181, 0.026976159, -0.019296784, -0.02092525, 0.019213814, -0.0055071535) * input_1(1.0, 1.0);
    result += mat4(-0.12111801, 0.038015645, -0.4645824, -0.1049149, 0.009601913, 0.00985307, -0.39729056, 0.0023596203, 0.103952184, 0.0029475887, -0.39680225, 0.004071478, 0.050676722, -0.10687417, -0.008212656, -0.06481104) * input_2(-1.0, -1.0);
    result += mat4(0.12664294, 0.12962964, -0.06600781, -0.101881996, -0.024648933, 0.10067451, -1.080822, -0.036855496, 0.07222121, -0.010818709, -0.13439566, 0.07047656, -0.042669702, 0.19424051, -0.09534596, 0.057339687) * input_2(-1.0, 0.0);
    result += mat4(0.056251343, 0.004825846, -0.027038587, 0.065801896, -0.02406587, 0.04641325, 0.24923983, 0.0012011445, -0.00751915, -0.016160503, 0.06525781, -0.044450007, 0.14868532, -0.032454614, -0.036482096, 0.15801176) * input_2(-1.0, 1.0);
    result += mat4(-0.14935689, -0.17124644, -0.11278053, -0.017765759, 0.025534827, 0.04680485, 0.28115037, 0.11895667, -0.122631274, -0.03809503, 0.30723476, -0.15898588, -0.017718634, 0.05868492, 0.021173231, 0.08521396) * input_2(0.0, -1.0);
    result += mat4(0.17135316, -0.24958408, 0.4001333, 0.0921451, 0.057214357, -0.29681516, 0.050307155, -0.01098312, -0.022012694, 0.20882711, 0.19455682, 0.13701688, 0.2552469, -0.0980478, -0.03862945, 0.04713171) * input_2(0.0, 0.0);
    result += mat4(0.0041251257, -0.17964423, 0.093058184, 0.07511788, 0.07143557, 0.01089213, 0.41602653, -0.016086923, 0.010327208, -0.020186035, 0.08966108, -0.035256058, -0.08556059, 0.122856274, -0.048593856, -0.008135146) * input_2(0.0, 1.0);
    result += mat4(0.0018906352, -0.0044350903, -0.08244961, 0.0023584752, 0.041829336, 0.011359049, -0.0009847957, 0.02621148, 0.0682496, 0.091831036, -0.100297466, 0.10195674, 0.11512712, -0.011361205, 0.050279774, 0.0693762) * input_2(1.0, -1.0);
    result += mat4(0.047447238, 0.00072622776, -0.03459502, 0.12467423, -0.10193909, -0.1962049, 0.2794718, 0.016450724, -0.02969786, 0.12560672, -0.18476675, 0.08157445, 0.035186995, 0.0011828187, -0.11581219, -0.04738285) * input_2(1.0, 0.0);
    result += mat4(-0.031781204, -0.085534826, -0.07610667, 0.03650701, -0.017700268, -0.00908758, 0.04670008, -0.06649619, 0.011072532, -0.03687766, -0.010081378, 0.0026389875, -0.0139178885, 0.037350535, -0.009841945, 0.0058891624) * input_2(1.0, 1.0);
    result += mat4(-0.056565687, -0.05292803, -0.42213488, -0.015894646, 0.038755126, 0.091380864, -0.35189348, -0.06490566, -0.08124589, -0.000103944774, -0.09815052, -0.009304343, -0.0038416758, 0.05193893, -0.70145184, -0.032728583) * input_3(-1.0, -1.0);
    result += mat4(0.008981332, 0.03718344, 0.0604514, 0.015471504, 0.052322183, 0.10336689, -0.5217704, 0.021051658, 0.012902108, 0.04890366, 0.06909175, -0.09674591, 0.06244853, 0.08752747, -0.06073763, 0.04258769) * input_3(-1.0, 0.0);
    result += mat4(0.03887483, -0.0025539862, 0.016015477, -0.07852524, 0.15464926, 0.012005928, -0.084212236, 0.0098986095, -0.031958934, -0.25822854, -0.048896052, -0.29377127, -0.013497739, -0.040138412, -0.049934033, -0.021968896) * input_3(-1.0, 1.0);
    result += mat4(0.119123526, -0.09636739, 0.11784588, 0.08098498, -0.21954176, 0.11040773, -0.057696506, -0.17865321, -0.098389715, 0.10977726, -0.18816197, -0.2183967, 0.11035038, 0.1826626, -0.009513659, 0.13482933) * input_3(0.0, -1.0);
    result += mat4(-0.025503036, -0.25527495, 0.17528923, 0.067855045, -0.0435908, 0.011280484, 0.03942492, -0.12965336, 0.24421662, 0.19824591, 0.1951089, 0.16120787, 0.0033572542, -0.039704304, 0.32020453, 0.14281397) * input_3(0.0, 0.0);
    result += mat4(-0.049183413, 0.015922215, 0.1300327, -0.06364656, 0.017044773, -0.020394752, -0.06366296, 0.022753183, 0.035786275, 0.07245005, -0.33160794, 0.017470403, -0.0013895705, 0.1137629, -0.03770858, -0.05210472) * input_3(0.0, 1.0);
    result += mat4(0.023302674, -0.03966551, -0.012482038, 0.037842486, -0.20566605, -0.010837111, 0.055551447, 0.072347715, -0.10273189, -0.031064607, 0.037912533, 0.0864754, -0.059490077, 0.17200527, -0.052741554, -0.17415) * input_3(1.0, -1.0);
    result += mat4(-0.0077927816, -0.017454455, 0.1398443, -0.000921593, 0.06229137, 0.03579918, 0.18867669, 0.090844996, 0.009854208, -0.0142438505, -0.030357188, 0.12650794, -0.041128937, 0.069469914, -0.088099144, 0.07781799) * input_3(1.0, 0.0);
    result += mat4(0.034879413, -0.030762952, -0.09082919, -0.027707655, -0.035472274, 0.028897507, -0.08277921, -0.0202958, -0.05908401, 0.019178359, 0.06751263, -0.06763477, 0.035572246, -0.08108801, 0.023161113, 0.0100309765) * input_3(1.0, 1.0);
    result += vec4(0.064740226, 0.0016173405, 0.02172892, 0.04568742);
    return max(result, vec4(0.0));
}

//!DESC [ArtCNN_Legacy_C4F16_YCbCr] (Conv-3-ReLU)
//!HOOK NATIVE
//!BIND conv2d_2_tf
//!BIND conv2d_2_tf1
//!BIND conv2d_2_tf2
//!BIND conv2d_2_tf3
//!SAVE conv2d_3_tf3
//!WIDTH NATIVE.w
//!HEIGHT NATIVE.h
//!COMPONENTS 4
//!WHEN OUTPUT.w NATIVE.w 1.200 * > OUTPUT.h NATIVE.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_2_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_2_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_2_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_2_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(-0.10787143, 0.023483098, -0.042506583, -0.0024201206, 0.1128804, 0.008380174, 0.23447679, 0.013690061, 0.027978022, -0.13820435, 0.1143167, 0.07451314, 0.02178363, -0.107761994, 0.08077075, -0.020278204) * input_0(-1.0, -1.0);
    result += mat4(0.12625879, -0.09928587, 0.25854567, -0.02270127, -0.029323846, 0.02037314, 0.16168103, 0.046541397, 0.023212692, 0.13661718, -0.12083506, 0.060198013, 0.004865472, -0.09754873, -0.06576026, -0.038934395) * input_0(-1.0, 0.0);
    result += mat4(0.11924506, -0.11379559, 0.04823094, 0.007767614, -0.03991066, 0.0967411, -0.010188893, 0.065590754, -0.019667806, 0.10716466, 0.073864765, 0.07786693, -0.0547539, 0.08248141, -0.2348099, 0.0035546545) * input_0(-1.0, 1.0);
    result += mat4(-0.13910645, 0.05765669, -0.014206963, -0.11108777, -0.16800565, 0.08149386, 0.028841365, 0.2934722, 0.019613452, -0.10596339, 0.1909283, 0.010715153, 0.118253656, 0.016549038, -0.26243022, 0.026100267) * input_0(0.0, -1.0);
    result += mat4(0.06566465, 0.11946842, 0.068960756, -0.08426097, 0.084840074, 0.044083077, 0.37339425, -0.053767517, -0.0075922813, -0.0926037, -0.21081375, -0.7150692, 0.30689123, 0.02915886, 0.036051746, -0.062247936) * input_0(0.0, 0.0);
    result += mat4(-0.14099875, 0.0091124065, -0.05844999, -0.053304885, -0.07898428, -0.13758057, 0.016516604, 0.01644603, 0.050932497, -0.09578618, 0.0015354925, 0.018130196, 0.07066537, -0.022939745, 0.25540358, -0.021752398) * input_0(0.0, 1.0);
    result += mat4(0.15558822, -0.058768366, -0.08811589, -0.063770175, 0.2179576, -0.09597617, -0.032459617, -0.35347325, 0.14619176, 0.06124733, -0.07898154, -0.020559896, -0.13200583, 0.1358922, 0.048036058, 0.010229299) * input_0(1.0, -1.0);
    result += mat4(-0.021641048, -0.053736426, 0.04254601, 0.056992624, -0.014733554, -0.1511535, -0.2999448, -0.06526891, -0.017992899, -0.12483918, -0.020142825, 0.030215042, 0.05065191, -0.107212625, -0.10915512, -0.027442427) * input_0(1.0, 0.0);
    result += mat4(0.11118807, 0.11566062, 0.041252274, 0.01543725, -0.10136039, -0.08605367, -0.073219664, -0.012847995, -0.17516534, -0.12185862, 0.041231703, 0.069326036, 0.016069164, 0.13184538, -0.1442433, 0.034009304) * input_0(1.0, 1.0);
    result += mat4(0.12025168, 0.11594312, -0.01081198, 0.0020987084, 0.06816263, -0.1230468, -0.13468279, 0.0040929746, 0.018595833, 0.0035557982, -0.36980844, -0.0021444852, -0.021374019, -0.07045328, -0.05021615, -0.07102744) * input_1(-1.0, -1.0);
    result += mat4(-0.14212345, -0.10849232, -0.021876415, 0.06522574, 0.16208944, 0.06130983, 0.02374586, -0.21808915, -0.17350313, 0.059717935, 0.07901644, 0.021800105, -0.05494629, 0.07855285, 0.30286777, 0.13677117) * input_1(-1.0, 0.0);
    result += mat4(-0.026280705, 0.09080467, -0.028716648, 0.06487771, 0.064380325, 0.09132422, -0.017379155, -0.101365454, 0.02369009, 0.03416735, 0.07389286, 0.22508642, -0.12098443, 0.03561617, 0.16886497, -0.004530309) * input_1(-1.0, 1.0);
    result += mat4(0.03133131, -0.020890567, -0.28292257, -0.0020627677, -0.04393063, -0.003975721, -0.17093633, 0.103710115, -0.0068361275, -0.10169854, -0.053924896, 0.024355335, 0.043241233, 0.0016982757, 0.007099638, 0.02464669) * input_1(0.0, -1.0);
    result += mat4(-0.077427715, 0.092092335, 0.10016769, -0.10341917, 0.084851034, -0.08437725, 0.22767821, 0.033803765, 0.23731688, -0.081889234, -0.09209307, 0.081733145, -0.24302265, 0.03919498, 0.05101323, 0.065579765) * input_1(0.0, 0.0);
    result += mat4(-0.079223685, 0.013474026, 0.12826608, 0.06283636, -0.47558242, 0.10461586, 0.07977981, -0.07358343, 0.2641144, 0.04637685, -0.40701735, 0.23610505, 0.16780365, 0.06962524, -0.1439909, 0.020049192) * input_1(0.0, 1.0);
    result += mat4(-0.0045115906, -0.07140382, 0.014824728, 0.0487573, -0.03360442, 0.113867186, 0.02816269, 0.00050679414, -0.051228475, -0.0119596105, -0.12869659, -0.012878745, -0.091199756, -0.09639975, 0.017178489, 0.019783493) * input_1(1.0, -1.0);
    result += mat4(-0.024128981, -0.15574273, -0.017649507, 0.08643656, -0.42300314, -0.10687341, 0.15055735, -0.057623338, -0.10966346, 0.14854327, 0.08930976, 0.047743823, 0.10150511, 0.03802808, 0.101502955, -0.024729306) * input_1(1.0, 0.0);
    result += mat4(-0.3275282, -0.046222627, 0.033965737, -0.04641871, -1.2936435, 0.104464255, -0.02028674, 0.067506485, -0.5677844, -0.01982376, -0.025575593, 0.009475472, -0.18417974, -0.14027148, -0.08409043, -0.03899619) * input_1(1.0, 1.0);
    result += mat4(0.019838879, 0.07411848, 0.2852714, -0.04124382, 0.054438032, -0.03862655, 0.0006994473, 0.005159668, 0.02873876, -0.009058014, -0.17517883, -0.0567393, 0.1066441, 0.115908645, 0.13169107, 0.057138853) * input_2(-1.0, -1.0);
    result += mat4(0.04413261, -0.015104973, 0.24322204, -0.0012774613, -0.06127592, -0.06667668, 0.04697794, 0.071553946, -0.01850919, -0.042118248, -0.063863315, -0.019643415, 0.04774625, 0.037828047, 0.7290016, -0.35735536) * input_2(-1.0, 0.0);
    result += mat4(-0.030983482, 0.0033407763, -0.054275475, -0.105805635, 0.025176633, -0.124152005, 0.1510755, 0.051917963, -0.053312663, 0.11167448, -0.030045368, 0.014454949, -0.03278257, 0.013698831, 0.021607867, 0.06971249) * input_2(-1.0, 1.0);
    result += mat4(0.04386049, 0.0056339833, -0.29646185, 0.09459691, -0.13809979, -0.13152827, 0.13600273, 0.04072586, 0.06363227, 0.04036048, -0.064537816, -0.022627316, -0.022491805, -0.0811907, 0.13585348, -0.05857028) * input_2(0.0, -1.0);
    result += mat4(0.14695737, -0.061339904, -0.08454873, 0.069456525, 0.2504642, -0.073760375, -0.71901274, -0.06679098, -0.085553765, -0.08145312, 0.06724741, -0.1050906, -0.05678733, -0.077577546, 0.069159895, 0.32836765) * input_2(0.0, 0.0);
    result += mat4(0.008200515, -0.062803045, -0.027989635, 0.014789568, -0.021698201, -0.025354976, -0.07240822, -0.1594865, -0.034610104, -0.12813517, -0.10389409, -0.012702051, -0.006445196, 0.048773404, 0.35576373, 0.012113085) * input_2(0.0, 1.0);
    result += mat4(0.12654968, -0.022987613, 0.123879746, 0.042621937, -0.12294351, 0.10044448, 0.18718329, 2.7505717e-05, -0.025215374, -0.047338266, 0.015726289, 0.0022999519, 0.072138466, 0.060340777, -0.0436687, -0.0038740581) * input_2(1.0, -1.0);
    result += mat4(-0.02666925, 0.049909245, 0.047640495, 0.097695775, 0.1357527, -0.021167623, 0.22645803, -0.024403814, 0.3945605, 0.09971552, 0.054847542, -0.0046801283, -0.17842571, -0.08693283, -0.13046049, -0.024155179) * input_2(1.0, 0.0);
    result += mat4(-0.20187418, -0.12308484, -0.08928782, 0.012965662, -0.31579202, 0.03118813, 0.056127284, 0.060263082, -1.2408795, -0.032966353, 0.09196888, 0.023452401, 0.39567712, -0.08093709, -0.034367807, 0.00048917305) * input_2(1.0, 1.0);
    result += mat4(0.003356483, 0.023928953, -0.1644424, -0.009511911, 0.035789903, 0.05779362, 0.072040014, 0.00934136, -0.12326663, 0.051842682, 0.14960523, -0.09063943, -0.0026483324, -0.11695409, -0.018028164, 0.06869671) * input_3(-1.0, -1.0);
    result += mat4(0.09872995, 0.0048737996, -0.06081548, -0.02270412, -0.17809531, -0.07729526, -0.03241764, 0.07425955, 0.2194338, -0.10319413, 0.012990466, -0.06122266, -0.06821875, -0.10603785, -0.13246715, -0.07690603) * input_3(-1.0, 0.0);
    result += mat4(-0.06446553, -0.0637592, -0.05836738, -0.002384567, -0.1916284, -0.14517495, -0.039403006, -0.0791103, 0.0010077219, 0.09326307, 0.12120366, -0.050774273, -0.10743052, -0.029467357, 0.042050652, 0.009461751) * input_3(-1.0, 1.0);
    result += mat4(0.0757408, 0.03036588, 0.0027619933, 0.015516389, -0.08615225, 0.1430018, 0.0047456925, 0.0016936739, 0.07529818, -0.10937151, -0.07870239, 0.044102065, -0.026674394, -0.08931398, -0.30157572, 0.10142245) * input_3(0.0, -1.0);
    result += mat4(0.32752505, -0.11144162, 0.16497557, -0.14198364, 0.18133476, 0.033617303, -0.24995941, -0.08439416, 0.09231222, -0.007452278, 0.06823181, 0.25523546, 0.30673566, -0.095149845, 0.0009406161, 0.033932783) * input_3(0.0, 0.0);
    result += mat4(0.088803194, -0.1316467, 0.18091373, 0.08957521, 0.12274501, -0.10096954, -0.016583372, -0.067000166, -0.05964309, -0.09761169, 0.00055573013, 0.034456573, -0.08928468, -0.024536151, -0.055773415, 0.03353044) * input_3(0.0, 1.0);
    result += mat4(-0.008839239, 0.0041969316, -0.026557077, 0.042976968, 0.04455803, 0.026080886, -0.0640374, -0.067588635, 0.07809221, 0.06705919, -0.021095844, -0.056251913, -0.1449485, -0.006947257, 0.24887231, -0.019034702) * input_3(1.0, -1.0);
    result += mat4(-0.009347881, -0.08368573, -0.12307191, -0.12248062, -0.0054771113, -0.13606983, -0.026141344, 0.039227046, -0.41088843, -0.016907219, 0.12982559, 0.113039374, -0.11522834, -0.049224235, 0.08547974, -0.021189598) * input_3(1.0, 0.0);
    result += mat4(-0.106194116, 0.06663615, -0.12786011, -0.007238437, 0.12694174, 0.12718856, -0.05265802, -0.019774333, -0.22514643, -0.13790725, 0.05345133, -0.0017154765, -0.26347774, -0.015043631, 0.014711281, -0.006635957) * input_3(1.0, 1.0);
    result += vec4(0.013123796, -0.011432242, 0.03495874, 0.14303586);
    return max(result, vec4(0.0));
}

//!DESC [ArtCNN_Legacy_C4F16_YCbCr] (Conv-4-ReLU)
//!HOOK NATIVE
//!BIND conv2d_3_tf
//!BIND conv2d_3_tf1
//!BIND conv2d_3_tf2
//!BIND conv2d_3_tf3
//!SAVE conv2d_4_tf
//!WIDTH NATIVE.w
//!HEIGHT NATIVE.h
//!COMPONENTS 4
//!WHEN OUTPUT.w NATIVE.w 1.200 * > OUTPUT.h NATIVE.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_3_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_3_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_3_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_3_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(-0.50093335, 0.17053321, 0.07785241, 0.07869508, 0.05163283, 0.065015756, -0.051796533, 0.028090637, -0.066311724, 0.036630668, 0.054274864, -0.08958588, -0.04859418, 0.01520107, -0.011274856, -0.030812977) * input_0(-1.0, -1.0);
    result += mat4(-0.5010148, 0.011378165, -0.18962187, -0.04856024, 0.04600433, -0.034828555, 0.04713582, 0.002377972, 0.12564744, -0.1071462, 0.11177092, -0.0049153683, -0.036243126, 0.0062578954, -0.02775894, 0.09502184) * input_0(-1.0, 0.0);
    result += mat4(-0.009766594, -0.022071749, 0.016195672, 0.042297702, -0.0034556289, -0.034081068, 0.03017122, -0.010765891, -0.074910074, 0.089802824, -0.015383268, 0.07145453, -0.016060434, -0.04791424, 0.08710567, 0.024216438) * input_0(-1.0, 1.0);
    result += mat4(0.22655508, -0.16275227, 0.14959493, 0.10031986, 0.077277415, 0.08556347, 0.038341086, -0.029953131, -0.120611414, 0.124764435, 0.057071406, -0.019728303, -0.2480709, -0.019111007, -0.0627187, 0.01434866) * input_0(0.0, -1.0);
    result += mat4(0.02551742, -0.081461206, -0.0900978, -0.0626709, -0.05336918, -0.14978366, -0.26622447, -0.051104285, -0.023940157, 0.07504374, 0.13701893, 0.072640345, -0.04424407, 0.020821378, -0.048857458, -0.009865074) * input_0(0.0, 0.0);
    result += mat4(-0.008525687, -0.030187769, 0.056328416, -0.073665656, -0.12129457, 0.07978298, 0.06915915, 0.019615939, -0.07090081, -0.049098305, -0.0026742443, 0.007914518, 0.05477831, 0.069820784, 0.04213354, 0.021233656) * input_0(0.0, 1.0);
    result += mat4(-0.3926303, -0.02344829, 0.019146694, 0.1889559, 0.5061334, 0.103056505, 0.34667578, -0.23619927, -0.06720724, 0.037661772, 0.06571183, 0.11695544, 0.034215078, 0.0138105415, 0.01768457, 0.06337051) * input_0(1.0, -1.0);
    result += mat4(0.1947548, 0.053771876, 0.034132756, 0.06538291, -0.35676304, -0.0046507074, 0.103789434, 0.20937297, 0.014394241, -0.042173527, 0.027948087, 0.09299357, -0.084335156, 0.14628287, 0.16613404, 0.08934234) * input_0(1.0, 0.0);
    result += mat4(-0.004038823, -6.411043e-05, -0.018531863, 0.029829549, 0.13320391, -0.017245365, 0.1264239, -0.025057562, 0.07995364, 0.014559964, -0.12465981, 0.1352203, -0.08500726, 0.029163105, 0.11716453, -0.039307345) * input_0(1.0, 1.0);
    result += mat4(-0.293448, 0.0021547645, 0.017561112, 0.012200213, 0.10171256, 0.05982867, 0.024122342, -0.004830647, -0.04878682, -0.009569764, -0.09153415, 0.003502189, 0.1300239, 0.024175037, -0.0077046794, -0.03853077) * input_1(-1.0, -1.0);
    result += mat4(0.044625077, -0.03157233, -0.04106942, 0.008021677, 0.021184465, 0.055448588, 0.0345565, -0.023433456, 0.00565319, 0.0020551693, -0.025312481, 0.028107984, 0.21340981, -0.00992185, 0.011986169, 0.044717908) * input_1(-1.0, 0.0);
    result += mat4(0.036454532, 0.056321405, 0.10455107, 0.0903829, -0.07736692, 0.0029501796, -0.026104983, -0.022796609, 0.03924138, -0.057694156, -0.067107946, -0.01784121, 0.07201123, -0.0369109, -0.016536595, -0.003953863) * input_1(-1.0, 1.0);
    result += mat4(0.03796776, -0.018873043, 0.017305627, 0.0191417, -0.30548587, 0.033072587, -0.037744265, 0.14484018, -0.13448995, 0.0998129, 0.12043334, 0.03902373, 0.20800729, 0.02335224, 0.032273464, 0.071446955) * input_1(0.0, -1.0);
    result += mat4(0.070059694, 0.11177988, -0.049611412, 0.008733106, 0.11182923, 0.17410104, 0.17893398, 0.018970463, 0.106543474, 0.12376424, 0.1586837, 0.03477912, 0.41601235, -0.038170807, 0.10732768, 0.1703832) * input_1(0.0, 0.0);
    result += mat4(0.17943855, 0.1493076, 0.023972228, -0.06521275, 0.17111537, 0.07060664, 0.03924263, 0.040769912, 0.0252051, 0.014534543, -0.117755435, 0.136613, 0.029074306, 0.046130925, -0.10013311, -0.052481804) * input_1(0.0, 1.0);
    result += mat4(-0.22330652, -0.13222048, -0.10460595, 0.14747635, -0.06879654, 0.21100469, -0.25497764, 0.021152882, -0.01815573, 0.05136959, 0.085892275, -0.006663325, 0.08181257, -0.03250818, -0.066014566, -0.060620893) * input_1(1.0, -1.0);
    result += mat4(0.64537776, 0.12895684, -0.15073636, -0.24962758, -0.049622398, 0.037874106, -0.016435878, -0.13439523, 0.036823478, -0.0296082, -0.041106578, -0.11793807, 0.18322313, 0.007995694, 0.12732118, 0.062152) * input_1(1.0, 0.0);
    result += mat4(-1.1588557, -0.097900204, -0.38726687, 0.06519767, -0.049977135, 0.009987372, 0.010778875, -0.037072346, -0.029785823, 0.045348685, -0.0021377162, -0.01872309, -0.027706794, 0.27836683, 0.62876207, 0.20612383) * input_1(1.0, 1.0);
    result += mat4(-0.15852192, 0.047567356, 0.037974637, -0.053682845, -0.024978466, 0.06040785, -0.037020817, 0.011358644, 0.011646446, 0.016011568, 0.0378358, 0.009998892, -0.11998812, -0.008170248, 0.0076004085, 0.012964205) * input_2(-1.0, -1.0);
    result += mat4(0.016475545, -0.096708305, -0.029399846, 0.10114889, -0.09104737, -0.0042972816, 0.10918375, 0.14544904, -0.067495055, 0.057977878, -0.06704115, 0.028746724, 0.08927994, 0.048609324, 0.0021271463, -0.047367293) * input_2(-1.0, 0.0);
    result += mat4(0.0065077865, 0.044686854, 0.08657028, 0.011970774, -0.1070861, 0.031515155, -0.0066627692, -0.05976745, -0.04606144, -0.07642035, 0.042581826, 0.01195085, -0.047628466, -0.020941917, 0.07277486, 0.09671826) * input_2(-1.0, 1.0);
    result += mat4(-0.027588587, -0.09071463, -0.080988266, -0.025491662, 0.04758302, 0.019451529, -0.049539078, 0.087341525, -0.053847376, -0.090990014, -0.04656937, -0.023299722, -0.2310865, -0.011004257, -0.025085272, 0.040057175) * input_2(0.0, -1.0);
    result += mat4(0.09495869, -0.03905442, -0.05222945, 0.14315706, 0.11176969, -0.16478561, 0.08673857, 0.045045055, 0.05982153, 0.058658663, 0.076627724, -0.2752432, 0.07245266, 0.14178759, -0.08674205, 0.32858384) * input_2(0.0, 0.0);
    result += mat4(0.010280154, 0.14609624, -0.07163892, -0.012316112, 0.14152506, 0.19329324, -0.06276666, 0.09183686, 0.00455863, -0.00845197, 0.027248196, 0.07006588, -0.02226991, -0.040922444, -0.14551751, 0.03370551) * input_2(0.0, 1.0);
    result += mat4(0.00060675666, 0.042961076, -0.004101795, -0.028110987, -0.08109423, 0.0061585153, 0.012527659, -0.03637878, 0.08928876, 0.04709242, 0.04873909, 0.01037781, -0.002997391, 0.012857511, 0.09358938, 0.054175902) * input_2(1.0, -1.0);
    result += mat4(-0.071489185, 0.013130472, 0.06672076, -0.025393449, 0.0024561484, -0.012322206, 0.0035260255, -0.16778003, -0.081186086, 0.09941084, -0.15270987, -0.18265383, -0.024417236, -0.001524934, -0.033279557, -0.07221405) * input_2(1.0, 0.0);
    result += mat4(-0.058315642, 0.026769662, 0.05867826, -0.06748593, -0.043501887, -0.084690616, -0.036069337, -0.03335702, -0.09942518, -0.16020192, -0.08695303, -0.2532267, 0.09025305, 0.09321997, -0.01451332, -0.102718554) * input_2(1.0, 1.0);
    result += mat4(-0.68684876, -0.8032382, 0.17667764, 0.06786111, 0.09421563, -0.0883982, -0.015955763, -0.13587119, 0.044788793, 0.034690347, 0.0018360744, -0.026688647, -0.03091609, 0.04125209, 0.07452431, -0.041177433) * input_3(-1.0, -1.0);
    result += mat4(-0.1648765, 0.031471685, 0.124420844, 0.13652565, -0.08148541, -0.026523972, -0.09103251, 0.14363869, 0.19801007, -0.0726828, 0.031583272, -0.0036406456, 0.20894448, -0.013452451, -0.04609787, 0.047087222) * input_3(-1.0, 0.0);
    result += mat4(0.12854007, -0.11953515, -0.057650898, 0.02563861, -0.032388557, -0.030748688, 0.021393219, -0.047431644, 0.029095476, 0.021552477, -0.06204142, -0.02022495, -0.039467707, 0.016675757, -0.04584001, -0.013587238) * input_3(-1.0, 1.0);
    result += mat4(-0.42291978, 0.047583148, 0.22019777, 0.04021886, 0.1120005, 0.017769894, -0.10977982, 0.041888777, 0.16872594, -0.02891922, 0.03611507, -0.09570489, -0.14337397, -0.041736826, 0.037253108, 0.23008463) * input_3(0.0, -1.0);
    result += mat4(-0.046175722, 0.09032592, 0.5619449, -0.08561791, 0.069575205, 0.034876082, 0.016816042, -0.09238334, 0.19518416, -0.009775681, 0.48849174, 0.05774787, 0.06251002, 0.05317645, 0.3804118, 0.14287299) * input_3(0.0, 0.0);
    result += mat4(-0.041736078, 0.066130966, 0.02525176, 0.04645918, 0.067763455, 0.11983154, -0.12091433, -0.11181534, -0.06531888, -0.14456223, 0.21268865, 0.08174709, 0.054454464, -0.023958374, -0.18066101, 0.03757538) * input_3(0.0, 1.0);
    result += mat4(-0.056635097, 0.011247489, 0.04288051, -0.010144785, 0.12771815, -0.06365909, -0.13428168, 0.06376102, -0.016718842, -0.024716279, -0.061335832, -0.06079023, 0.033294447, -0.0024983773, -0.049028482, -0.1223654) * input_3(1.0, -1.0);
    result += mat4(0.24312612, -0.011303475, 0.033241738, -0.04124031, -0.044090297, 0.05258522, 0.041100886, -0.10715991, 0.081940465, -0.03450896, 0.0122755375, 0.06871764, 0.060947422, -0.056466755, -0.20878327, -0.1434735) * input_3(1.0, 0.0);
    result += mat4(-0.047542717, -0.018384796, -0.023150118, 0.007828121, -0.03798664, 0.036014687, -0.02465618, -0.024191217, 0.05461953, -0.06349657, 0.27233794, 0.13873085, -0.0384212, -0.0070975847, -0.058637846, 0.016347947) * input_3(1.0, 1.0);
    result += vec4(-0.04266992, -0.008281083, 0.00086495245, -0.02421933);
    return max(result, vec4(0.0));
}

//!DESC [ArtCNN_Legacy_C4F16_YCbCr] (Conv-4-ReLU)
//!HOOK NATIVE
//!BIND conv2d_3_tf
//!BIND conv2d_3_tf1
//!BIND conv2d_3_tf2
//!BIND conv2d_3_tf3
//!SAVE conv2d_4_tf1
//!WIDTH NATIVE.w
//!HEIGHT NATIVE.h
//!COMPONENTS 4
//!WHEN OUTPUT.w NATIVE.w 1.200 * > OUTPUT.h NATIVE.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_3_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_3_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_3_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_3_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(0.0931834, 0.0005715206, -0.1027861, 0.01134589, -0.010116882, 0.03471551, -0.055837307, -0.08799376, -0.14271723, 0.08645443, -0.038072318, 0.09384859, -0.013972248, -0.03531611, -0.020848483, 0.028315518) * input_0(-1.0, -1.0);
    result += mat4(0.09021398, 0.031034606, 0.03596497, 0.10399643, 0.014697736, -0.0870096, 0.0867699, 0.041464146, -0.043460846, 0.079158045, 0.09591588, 0.09491631, 0.06440074, 0.047833677, -0.0032964502, -0.03775036) * input_0(-1.0, 0.0);
    result += mat4(0.041938927, -0.028232293, 0.014990772, 0.032842338, -0.051814258, -0.005878464, -0.013140694, 0.032773953, -0.050811745, 0.12586372, -0.09148602, 0.07663188, -0.02146167, 0.02049836, 0.016182179, 0.082712196) * input_0(-1.0, 1.0);
    result += mat4(-0.24309267, 0.095189214, 0.12310179, 0.10415112, 0.05454635, 0.06523204, 0.021555636, 0.062038537, 0.08556596, -0.10083702, 0.018962115, 0.11263297, 0.008534104, 0.049306497, -0.060068697, 0.04458964) * input_0(0.0, -1.0);
    result += mat4(-0.1575255, -0.15677339, 0.1867376, -0.061268702, 0.16312572, -0.04255471, -0.035771817, -0.1364462, -0.10025092, -0.120895915, 0.05118922, -0.01633234, -0.13280316, -0.16736689, 0.116689295, 0.090324335) * input_0(0.0, 0.0);
    result += mat4(-0.07526821, 0.0060677426, 0.030864099, -0.06290634, 0.20291002, -0.016963117, 0.07910074, -0.00062890537, 0.021220807, 0.004380539, 0.10830771, -0.058392063, 0.2631081, -0.054797076, 0.00060962816, 0.07522276) * input_0(0.0, 1.0);
    result += mat4(-0.031029537, -0.016878808, 0.020532385, -0.07620798, 0.26114866, -0.25146723, 0.15240632, 0.17506745, 0.102227345, 0.0071105226, 0.06367731, -0.027362593, -0.054769423, 0.052630957, -0.07254532, -0.03392828) * input_0(1.0, -1.0);
    result += mat4(0.061044358, 0.023105087, 0.084623426, -0.040978875, 0.263483, 0.045254976, -0.06383098, 0.15400499, 0.008348422, -0.01295061, -0.115529835, 0.044777967, 0.07489416, 0.1296913, 0.23074472, -0.03391555) * input_0(1.0, 0.0);
    result += mat4(0.048932094, 0.029726524, -0.015535929, 0.024970131, 0.1301545, 0.017511996, 0.07080649, -0.0013359309, -0.010235879, 0.029896535, 0.10593322, 0.12515059, 0.06533308, 0.0483253, 0.17216137, -0.019608937) * input_0(1.0, 1.0);
    result += mat4(-0.024768533, -0.019073043, 0.021629054, 0.017079083, 0.014478684, 0.0056154276, 0.0056489143, 0.013577695, 0.04104414, -0.018685488, -0.110565595, -0.12562124, -0.01500397, 0.051451124, -0.0016673154, -0.0351434) * input_1(-1.0, -1.0);
    result += mat4(-0.020279245, 0.048332363, 0.011498983, -0.0057902653, -0.12915789, 0.0533993, -0.010383633, 0.0059039094, 0.07784468, 0.0762387, -0.14771779, -0.031920236, 0.016075913, 0.022878945, -0.028760543, 0.017825386) * input_1(-1.0, 0.0);
    result += mat4(0.14670832, -0.07475639, 0.03377097, 0.11820345, 0.019753674, -0.022603579, -0.0022398138, -0.025232857, -0.15309907, -0.012907034, 0.004603076, 0.07313061, -0.03433222, 0.02178109, -0.011998431, 0.012778251) * input_1(-1.0, 1.0);
    result += mat4(-0.045958027, -0.045449886, 6.518197e-05, -0.019518765, -0.11662136, -0.07235062, -0.0741437, -0.051167868, -0.039947376, 0.06540094, -0.038470052, 0.113686144, 0.02357724, -0.036703203, 0.0238884, 0.055532537) * input_1(0.0, -1.0);
    result += mat4(-0.010277489, 0.27496943, 0.047102135, -0.13559498, 0.06625292, 0.19229318, -0.06527576, 0.18615046, 0.030945772, -0.027088827, 0.08314458, -0.20751485, 0.09367971, 0.018675823, -0.0027717499, -0.07005867) * input_1(0.0, 0.0);
    result += mat4(-0.09262706, -0.45328814, 0.016130544, -0.23572563, -0.088956214, 0.09640051, -0.029638639, 0.017421583, -0.06109216, -0.030477684, 0.016758567, 0.17088205, -0.030316291, -0.017533949, 0.10919434, 0.14264585) * input_1(0.0, 1.0);
    result += mat4(-0.049960546, -0.30944294, -0.08751717, 0.002032591, -0.02300343, 0.2455543, 0.41872728, -0.035751294, -0.05645427, 0.005886302, 0.019421857, -0.011631931, -0.006379502, -0.05627135, -0.0039867307, 0.030107807) * input_1(1.0, -1.0);
    result += mat4(0.042562135, 0.008162555, -0.23740762, -0.077666745, 0.029299697, 0.07483518, 0.23557623, -0.046197478, 0.062077723, -0.13613085, -0.063691065, 0.011262295, -0.07687089, -0.20982306, 0.015831625, 0.08709533) * input_1(1.0, 0.0);
    result += mat4(-0.09001121, 0.3111596, 0.1739012, -0.17799537, 0.010022157, -0.08454061, -0.061653133, 0.038999245, -0.012254741, -0.005751496, -0.013498341, -0.032486565, 0.6107927, 0.26210165, 0.5510784, -0.098164804) * input_1(1.0, 1.0);
    result += mat4(-0.028427757, 0.012987158, 0.06384302, 0.07629971, -0.007968862, 0.044675775, 0.13912664, 0.11338753, 0.00538388, -0.036605235, -0.019433765, -0.019730674, 0.05152129, -0.01797763, 0.037376303, 0.0077666817) * input_2(-1.0, -1.0);
    result += mat4(0.030702388, -0.0066726366, 0.0588401, 0.015132343, 0.08962203, 0.093392946, -0.28570893, -0.3589538, 0.10126423, -0.0066370787, 0.06786719, -0.020359734, -0.110216774, 0.039642625, 0.04477168, 0.10587598) * input_2(-1.0, 0.0);
    result += mat4(0.019932231, 0.027484464, -0.037452716, -0.027367534, -0.04113398, -0.06273593, 0.11123971, 0.114780776, 0.026309717, 0.011915206, -0.007193668, 0.030357607, 0.004579236, 0.09410784, 0.04719099, 0.040587083) * input_2(-1.0, 1.0);
    result += mat4(0.050504614, -0.023541274, 0.015953884, -0.041999817, -0.009365141, -0.039811164, 0.012210252, 0.030606037, 0.031277556, 0.042340554, 0.009645398, 0.0038646476, -0.034959435, 0.022840189, -0.028534994, -0.002312121) * input_2(0.0, -1.0);
    result += mat4(0.0025571429, -0.16177583, -0.28084242, -0.009686228, 0.070134066, 0.16130893, 0.12319099, 0.039567366, 0.009762134, 0.029656332, -0.09949191, -0.034459233, -0.05905494, 0.110742584, -0.12289781, 0.05642449) * input_2(0.0, 0.0);
    result += mat4(0.22466674, 0.04988469, 0.0924118, 0.024045097, 0.12349648, 0.109583154, -0.1124394, 0.12842052, -0.10170568, -0.0683134, 0.08690225, -0.120647736, -0.033177596, -0.14052068, -0.10476702, 0.1044277) * input_2(0.0, 1.0);
    result += mat4(-0.0151583385, 0.056804553, 0.105672926, 0.031004967, -0.034326192, -0.09697252, 0.04833176, 0.018720353, -0.04331721, -0.0079495935, -0.06050395, -0.030028557, -0.050333258, 0.023056481, 0.0008993348, -0.04380482) * input_2(1.0, -1.0);
    result += mat4(0.0044145766, -0.2191416, -0.09416696, 0.17919093, -0.023431988, 0.026340313, -0.008262861, -0.00531497, 0.059478123, 0.032363698, 0.031585656, 0.14174555, 0.052112598, -0.044982143, 0.03774579, -0.028731957) * input_2(1.0, 0.0);
    result += mat4(0.026460394, -0.014135493, 0.054266036, -0.08097904, -0.10797975, -0.08061298, 0.04213993, -0.041302495, -0.06664512, 0.016092565, -0.0995074, 0.034622602, -0.028389601, 0.014216765, 0.032641165, -0.13806519) * input_2(1.0, 1.0);
    result += mat4(-0.29853588, 0.4048064, -0.1547778, 0.16146843, -0.08106879, -0.11425867, -0.090545334, -0.040559, -0.01095108, 0.011378143, -0.06020085, -0.06734067, -0.10708569, 0.06564448, 0.022718212, -0.032681067) * input_3(-1.0, -1.0);
    result += mat4(0.1338577, 0.15694493, -0.0513053, -0.0040387143, 0.052840106, -0.047811802, -0.07255046, 0.0325878, 0.026232725, -0.027744899, 0.0019392045, 0.075698726, 0.026675636, 0.0535368, -0.048237234, -0.027137231) * input_3(-1.0, 0.0);
    result += mat4(-0.08671012, 0.034772452, 0.12102588, 0.11368132, 0.10072825, 0.021996494, 0.017801289, -0.00014270896, 0.03831188, 0.00025305987, -0.067675695, 0.027298756, 0.0017269994, 0.059658334, -0.047386803, -0.019136744) * input_3(-1.0, 1.0);
    result += mat4(0.08247729, 0.14368704, 0.050820928, 0.0040967255, 0.049787637, -0.024668833, 0.015375116, 0.039501555, 0.08815975, -0.013890564, 0.0831412, -0.0076524327, -0.04186828, -0.020692179, 0.08215053, -0.08375418) * input_3(0.0, -1.0);
    result += mat4(0.10689418, -0.098301776, -0.091765404, -0.049080644, 0.052591983, 0.014866336, 0.107587084, -0.0805332, 0.1336406, 0.10952365, 0.39498594, 0.27635783, 0.11602624, 0.2626296, 0.0008416301, 0.018365977) * input_3(0.0, 0.0);
    result += mat4(0.07595209, -0.028772352, -0.07702573, -0.06570164, 0.062499676, -0.042120427, -0.05984105, 0.121230885, -0.1225355, -0.060248215, 0.1651079, 0.12034314, -0.004598028, -0.027787145, -0.035908427, 0.17039765) * input_3(0.0, 1.0);
    result += mat4(0.022340031, 0.06306675, 0.029669773, 0.003613613, 0.08948034, 0.0065236366, 0.11537983, 0.12675948, 0.04962139, 0.006796792, 0.03277342, -0.015862308, -0.01868124, -0.14238274, -0.002261885, 0.011056515) * input_3(1.0, -1.0);
    result += mat4(0.0046834257, -0.009483382, -0.06729506, 0.07190696, 0.11575072, 0.052709326, 0.06294959, 0.014557992, 0.0150741525, -0.12391183, -0.25490406, 0.027860971, 0.02317379, 0.011153523, 0.036697075, -0.019596916) * input_3(1.0, 0.0);
    result += mat4(-0.06395624, 0.037704688, 0.02111237, -0.0042170295, -0.072612174, -0.015021267, -0.12512568, -0.10660897, 0.1032931, 0.07083923, 0.35748434, -0.0035396337, -0.06576221, 0.020277003, 0.09044105, -0.0018352976) * input_3(1.0, 1.0);
    result += vec4(0.021439921, 0.044019587, 0.024846338, -0.00588633);
    return max(result, vec4(0.0));
}

//!DESC [ArtCNN_Legacy_C4F16_YCbCr] (Conv-4-ReLU)
//!HOOK NATIVE
//!BIND conv2d_3_tf
//!BIND conv2d_3_tf1
//!BIND conv2d_3_tf2
//!BIND conv2d_3_tf3
//!SAVE conv2d_4_tf2
//!WIDTH NATIVE.w
//!HEIGHT NATIVE.h
//!COMPONENTS 4
//!WHEN OUTPUT.w NATIVE.w 1.200 * > OUTPUT.h NATIVE.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_3_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_3_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_3_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_3_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(-0.025936218, 0.5751752, 0.19628148, -0.2639236, 0.055437066, 0.0013159255, -0.03953002, -0.02832283, 0.13359572, -0.08799491, -0.11580255, 0.11818906, 0.022975925, 0.08145616, -0.0082177315, -0.007600859) * input_0(-1.0, -1.0);
    result += mat4(0.073272616, -0.091821864, 0.04063618, -0.057524174, -0.053507254, -0.034715768, 0.1254205, 0.0549754, 0.06385694, 0.0819102, -0.13574423, 0.059530675, 0.10667676, -0.21991837, -0.06380841, 0.050087724) * input_0(-1.0, 0.0);
    result += mat4(0.0413258, -0.020918554, 0.039001532, -0.030363865, 0.009153542, 0.012066214, 0.023977522, 0.05551008, -0.010219211, -0.11536475, -0.050842524, -0.061247695, -0.060032755, 0.2124531, -0.007924397, 0.0042137923) * input_0(-1.0, 1.0);
    result += mat4(0.086083375, -0.068128996, 0.028091792, -0.42742065, 0.15069157, 0.09747315, 0.06754372, -0.091485955, -0.13104577, -0.08095316, 0.04788087, -0.025315193, 0.053508345, 0.2437378, 0.07998074, -0.18998154) * input_0(0.0, -1.0);
    result += mat4(-0.016103169, 0.066040665, 0.043596398, -0.33087867, 0.14823608, -0.06208869, 0.06126724, 0.22256099, 0.12750305, 0.113583006, -0.04732933, 0.064706475, 0.16362493, -0.39294836, 0.019849328, -0.23610467) * input_0(0.0, 0.0);
    result += mat4(-0.05456453, -0.0050231945, -0.07034583, -0.023334624, 0.15283921, -0.011316565, 0.044941295, 0.055486836, -0.052707713, -0.038654737, 0.05273569, -0.12043484, 0.06134639, 0.29246566, -0.13583818, -0.31791207) * input_0(0.0, 1.0);
    result += mat4(0.1252179, 0.036291532, 0.051637396, -1.1093224, -0.3777389, -0.17555347, -0.029505271, 0.16646427, 0.076216474, -0.10366436, 0.06885446, 0.049216274, 0.017344283, 0.027945636, 0.031046236, 0.074042164) * input_0(1.0, -1.0);
    result += mat4(0.005029119, -0.09383862, 0.016489256, 0.8286584, 0.010740171, -0.04736394, -0.028698454, 0.24304476, 0.12593365, -6.4194637e-06, 0.10154658, -0.12734607, 0.093661346, 0.07432048, 0.03101836, 0.10565735) * input_0(1.0, 0.0);
    result += mat4(-0.010349462, 0.03898358, -0.03328355, -0.024535436, -0.042460427, -0.067393474, -0.011032149, 0.10705948, 0.030377511, 0.122322544, 0.07406701, 0.069300115, 0.14108421, 0.10739629, 0.018191196, 0.22202793) * input_0(1.0, 1.0);
    result += mat4(-0.016743567, 0.042152278, 0.00250572, -0.021999495, -0.012886931, -0.050968826, -0.019180907, 0.11965059, -0.022671161, -0.09840404, 0.028699614, -0.026690206, -0.03082945, -0.026142852, -0.041457992, 0.07204233) * input_1(-1.0, -1.0);
    result += mat4(0.03281026, -0.00890704, 0.00532143, -0.06224922, 0.16620244, 0.055601303, -0.05204925, -0.024929179, -0.19455662, -0.20280163, -0.11609917, 0.05812839, 0.015403856, 0.070635274, 0.011909281, -0.055837777) * input_1(-1.0, 0.0);
    result += mat4(0.0383768, 0.20147526, -0.06192922, 0.22176547, 0.024034813, 0.042359795, -0.058055263, -0.013011229, -0.058978282, 0.13453026, -0.028448949, 0.10932492, -0.06945898, -0.037543662, 0.051166084, 0.08067585) * input_1(-1.0, 1.0);
    result += mat4(-0.07892849, 0.021040956, -0.0985622, 0.0090924315, -0.0073789163, -0.14414926, 0.14246091, 0.13209583, 0.058702458, -0.0583906, 0.02420912, -0.23595545, 0.042622168, 0.019088676, 0.024747882, -0.005690776) * input_1(0.0, -1.0);
    result += mat4(-0.04217451, -0.0040019336, 0.043573063, -0.20711777, 0.03149421, 0.18758595, 0.12903066, 0.07354387, 0.016001593, -0.2974841, -0.02573316, -0.32274598, 0.1832361, 0.15981674, 0.16329093, 0.030457398) * input_1(0.0, 0.0);
    result += mat4(0.17771745, 0.25899088, -0.17616186, -0.11171483, -0.08036334, -0.097211, 0.07527669, 0.19493477, 0.11846887, 0.15241429, 0.08134905, -0.23622313, -0.08398451, -0.18041095, -0.097202964, 0.06547411) * input_1(0.0, 1.0);
    result += mat4(-0.023145646, -0.058090057, -0.11415892, 0.061495412, -0.121414855, -0.33741656, 0.38470817, 0.032540657, 0.01749363, 0.05216221, 0.022317179, -0.1480903, -0.02276626, 0.032813877, -0.043358654, 0.10227993) * input_1(1.0, -1.0);
    result += mat4(0.934099, -0.2010624, 0.4350243, 0.16862525, 0.05947214, 0.16189742, 0.05342867, -1.5296702, -0.18252628, -0.2299482, 0.02760041, 0.08921063, 0.056820773, 0.24126996, -0.07459033, -0.29421112) * input_1(1.0, 0.0);
    result += mat4(-0.52076536, 0.50277376, -0.43082976, -0.42957032, 0.04647158, -0.1137771, -0.03832434, -0.12614752, -0.009303677, 0.064945154, 0.07863605, 0.03988934, 0.21209258, -0.6923694, -0.03710602, -0.39762756) * input_1(1.0, 1.0);
    result += mat4(0.002823097, 0.057258766, -0.01814418, 0.0042256415, 0.020270651, -0.0052252016, -0.072834544, 0.0868499, 0.008467417, 0.037242115, 0.0068456987, -0.06302161, 0.060109187, -0.017065268, 0.07399251, 0.0209188) * input_2(-1.0, -1.0);
    result += mat4(0.10718868, -0.084575385, 0.07468306, 0.15038484, 0.0036730818, 0.16204366, 0.057129577, -0.006574243, 0.072949864, -0.051745035, 0.053104077, 0.013854036, 0.15328422, 0.13976203, -0.18074925, 0.14652129) * input_2(-1.0, 0.0);
    result += mat4(-0.022022923, 0.17309046, 0.005171841, 0.043665223, 0.029831573, -0.30440527, 0.12968269, 0.015550598, 0.0786326, 0.022270149, 0.061716072, -0.090518124, 0.06702714, -0.057517823, -0.049092658, 0.11295631) * input_2(-1.0, 1.0);
    result += mat4(0.003819987, -0.07952662, 0.052378125, 0.02341988, 0.063331254, -0.20242509, -0.019484721, -0.052299857, 0.032484844, 0.007278833, -0.039268557, 0.03400987, -0.021944398, -0.08125115, -0.041163273, -0.089422345) * input_2(0.0, -1.0);
    result += mat4(-0.016381001, 0.06476834, -0.16792355, 0.34791902, -0.21838662, 0.48710325, 0.07809968, -0.005346128, 0.66615534, -0.2695822, -0.07084647, 0.04582416, 0.024887044, 0.33790264, 0.10642973, -0.13930704) * input_2(0.0, 0.0);
    result += mat4(0.14826868, -0.011976454, 0.084101506, -0.18872704, -0.08554688, -0.10661784, -0.093676835, -0.028127078, 0.16889754, 0.24948967, 0.178393, -0.044757362, 0.1618013, -0.118041985, -0.040947, -0.06486982) * input_2(0.0, 1.0);
    result += mat4(-0.025111122, 0.02555455, 0.023663852, -0.019182783, 0.011820339, 0.038473975, -0.111977935, 0.098284885, -0.017575255, -0.0155342, 0.030904999, -0.013565382, 0.031068014, 0.027491054, -0.015710384, -0.11794946) * input_2(1.0, -1.0);
    result += mat4(-0.014963698, -0.07570258, -0.12753922, 0.30381206, 0.077755906, -0.035407577, 0.026686085, 0.0019503959, 0.15502974, 0.075759366, 0.04238531, -0.21690306, -0.06715994, 0.06716034, 0.0749554, -0.059501536) * input_2(1.0, 0.0);
    result += mat4(-0.021418529, 0.11509004, 0.058685593, 0.36126322, 0.07129144, -0.01036555, 0.033927057, -0.020148171, 0.36424533, 0.17877634, 0.16222955, -0.056853257, -0.016495368, -0.11034503, 0.15426748, -0.11620653) * input_2(1.0, 1.0);
    result += mat4(0.20559193, -0.26478654, -0.45936948, 0.07820367, 0.10923212, -0.0019453039, -0.06542228, -0.11200062, -0.035113357, -0.047107343, 0.012930513, -0.026721437, -0.10561308, 0.13515003, -0.031680215, 0.1242821) * input_3(-1.0, -1.0);
    result += mat4(0.1524653, -0.38798982, 0.102788486, -0.10817595, 0.05550641, -0.0543457, -0.07951501, -0.010361736, -0.23022608, -0.10215589, 0.039431326, -0.037597712, -0.032451376, -0.11681869, -0.019691246, 0.053338096) * input_3(-1.0, 0.0);
    result += mat4(0.06168798, 0.024126038, 0.06769636, -0.11282614, 0.007433678, 0.03288626, -0.054030918, -0.047150202, -0.05751319, -0.06957081, -0.049768105, -0.021703308, -0.026973255, 0.054143205, 0.04993116, 0.08651424) * input_3(-1.0, 1.0);
    result += mat4(0.17453435, 0.0336644, -0.45841327, -0.05811167, -0.024356304, -0.057459448, 0.053535894, -0.1359147, -0.025551671, -0.059247438, 0.03887935, 0.06355509, 0.06681963, 0.33343205, 0.02549313, -0.1073168) * input_3(0.0, -1.0);
    result += mat4(0.5161385, -0.1943163, -0.19177805, -0.60731524, -0.06113322, 0.06281421, -0.07212352, -0.059216388, 0.105448715, 0.2637982, -0.086934805, -0.02646297, -0.0337948, -0.43640444, 0.03428253, -0.032467198) * input_3(0.0, 0.0);
    result += mat4(0.0059043653, 0.1993046, -0.0040652887, -0.18996027, -0.039955586, 0.105220504, -0.04217868, 0.032421213, 0.26338878, -0.57229817, 0.21711497, -0.037986577, 0.1056108, 0.14250857, 0.04573335, 0.012500757) * input_3(0.0, 1.0);
    result += mat4(-0.060362726, 0.08044018, 0.04977829, -0.19228034, -0.01430173, -0.011784613, -0.07638297, -0.08639602, -0.020535806, -0.17905083, 0.0004881787, -0.00060108997, 0.04589525, 0.03735817, -0.1490925, -0.024368588) * input_3(1.0, -1.0);
    result += mat4(0.11369243, -0.24551906, -0.068130925, 0.41085446, -0.050861537, 0.11829781, -0.13951682, -0.08265915, 0.054740537, 0.0848824, -0.026019745, -0.046357557, -0.04455162, -0.041535825, 0.027843123, -0.19432156) * input_3(1.0, 0.0);
    result += mat4(-0.037834123, 0.15892254, 0.012505781, -0.24608472, -0.04029288, -0.06312224, 0.12967561, 0.015782703, 0.23219456, -0.12356611, -0.041443367, 0.037557434, 0.094599836, 0.014337881, 0.083161324, -0.032056022) * input_3(1.0, 1.0);
    result += vec4(-0.043521654, 0.0036094172, 0.01619988, 0.025264233);
    return max(result, vec4(0.0));
}

//!DESC [ArtCNN_Legacy_C4F16_YCbCr] (Conv-4-ReLU)
//!HOOK NATIVE
//!BIND conv2d_3_tf
//!BIND conv2d_3_tf1
//!BIND conv2d_3_tf2
//!BIND conv2d_3_tf3
//!SAVE conv2d_4_tf3
//!WIDTH NATIVE.w
//!HEIGHT NATIVE.h
//!COMPONENTS 4
//!WHEN OUTPUT.w NATIVE.w 1.200 * > OUTPUT.h NATIVE.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_3_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_3_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_3_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_3_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(-0.41729313, 0.010877827, 0.1723883, -0.13812166, -0.16455925, -0.06846252, 0.0051784357, -0.023387661, -0.08535561, -0.05098779, 0.088348016, -0.05201933, -0.5159016, -0.0027003624, -0.028611967, -0.036334943) * input_0(-1.0, -1.0);
    result += mat4(-0.10567335, -0.09285326, -0.20310698, -0.016507229, -0.05501657, -0.07328637, 0.032464493, -0.051941153, 0.040007334, -0.06517498, 0.021847408, 0.13096057, 0.18033917, 0.036713954, -0.02589788, -0.07233156) * input_0(-1.0, 0.0);
    result += mat4(-0.39615884, 0.009379544, -0.026875464, 0.08189903, 0.1607636, 0.042939536, -0.016371412, 0.03331353, 0.115068674, -0.04127672, 0.12511705, -0.009388456, -0.02306769, 0.16050197, -0.0018660198, 0.028864931) * input_0(-1.0, 1.0);
    result += mat4(0.43120125, 0.0064701214, 0.23618102, -0.028190097, -0.22688164, 0.04828609, 0.14387086, -0.027323203, -0.02906835, 0.060338665, 0.0060294173, 0.06505193, -0.04760723, 0.015734827, -0.014534635, 0.049451504) * input_0(0.0, -1.0);
    result += mat4(0.48052683, -0.02393614, -0.08660954, 0.0083045615, -0.012266426, -0.4040855, 0.43574288, 0.049776655, 0.02367564, 0.06286099, 0.07368676, -0.041197672, -0.25966802, 0.23106852, -0.034357075, -0.06783468) * input_0(0.0, 0.0);
    result += mat4(-0.13102786, -0.008582517, 0.16322231, -0.027236529, -0.30617195, 0.1290255, -0.02468171, 0.081517816, 0.069568664, 0.041214053, -0.10752222, 0.108956166, -0.050837718, 0.15850161, 0.20911863, 0.20234169) * input_0(0.0, 1.0);
    result += mat4(0.22178923, -0.0013428986, -0.029059488, -0.003700656, 0.18217285, 0.10793851, -0.31106344, -0.2725571, -0.047143206, 0.06489885, 0.0027871036, 0.13377321, -0.15385014, 0.020852584, -0.038468245, 0.04801568) * input_0(1.0, -1.0);
    result += mat4(0.033153456, 0.063225985, -0.05309005, 0.10118624, 0.3094914, -0.050969973, -0.08283383, -0.20631501, -0.035379, -0.082526974, 0.1412625, 0.023898289, -0.17701142, 0.05299041, -0.039376527, 0.118185535) * input_0(1.0, 0.0);
    result += mat4(-0.09022725, 0.027158774, 0.060907733, 0.029264925, -0.74134266, 0.060522962, 0.025580212, 0.19695942, 0.06733689, 0.030469563, 0.039364316, 0.00931491, 0.031774864, 0.060691256, 0.22076277, 0.3078099) * input_0(1.0, 1.0);
    result += mat4(-0.2079777, -0.015425542, -0.010548084, -0.0032920123, 0.027215246, -0.0016951044, -0.10424978, -0.024896292, -1.1985346, 0.041313644, 0.024505774, 0.02789421, -0.020463433, -0.024536425, 0.020175066, -0.0011453221) * input_1(-1.0, -1.0);
    result += mat4(-0.012975792, -0.015354472, 0.059006833, 0.020796511, -0.10726954, 0.12502825, 0.15674788, -0.059013385, 0.20432286, -0.03636277, 0.052035507, 0.065294236, -0.09745804, -0.05739957, -0.025297744, 0.08199796) * input_1(-1.0, 0.0);
    result += mat4(-0.27585468, 0.09192788, 0.055931732, 0.10375989, -0.14240232, 0.019453876, -0.046282258, 0.044946417, -0.19273217, 0.04268893, 0.16637832, 0.016585404, -0.13257936, 0.009603928, -0.017789183, 0.022817323) * input_1(-1.0, 1.0);
    result += mat4(-0.026544183, -0.08470005, -0.040658116, 0.043553602, 0.3297801, 0.16207011, 0.20328659, 0.0002840299, -0.3170995, -0.026009744, -0.05339543, 0.038250376, -0.6159645, -0.029387193, -0.062887035, -0.025416179) * input_1(0.0, -1.0);
    result += mat4(0.0046505993, 1.3189245e-05, -0.10833894, -0.10031394, 0.39791834, 0.2961557, 0.32483461, 0.27684075, -0.18054734, -0.12292852, -0.19290304, 0.010145803, 0.13260128, 0.24097113, 0.16185029, -0.018565696) * input_1(0.0, 0.0);
    result += mat4(-0.41127872, -0.20481436, 0.2391391, 0.08545259, -0.27449283, -0.045049496, -0.019420357, -0.09141166, 0.11664275, 0.032304097, -0.19908056, -0.031348042, 0.18300283, 0.08458896, 0.23067746, 0.03167013) * input_1(0.0, 1.0);
    result += mat4(0.34886765, -0.005216872, -0.019269997, -0.037198395, 0.48853505, -0.28248698, 0.008081073, -0.013889015, -0.22124456, 0.018476592, -0.04017334, 0.052942865, -0.030297467, 0.014262757, 0.030468509, -0.0029096554) * input_1(1.0, -1.0);
    result += mat4(0.08839266, 0.36572888, 0.6779034, -0.05564254, 0.23821014, -0.027752556, 0.15485565, 0.23503698, 0.007833631, 0.086397216, -0.012831242, -0.06407575, 0.12223608, -0.013766032, 0.04646401, 0.054443218) * input_1(1.0, 0.0);
    result += mat4(-1.1492746, -0.6307271, -0.40829766, 0.28092748, 0.22271688, -0.01672127, -0.028329404, -0.024013173, 0.019666068, -0.113271564, -0.03755086, -0.014344434, 0.21801603, 0.09898719, 0.059292313, 0.33840716) * input_1(1.0, 1.0);
    result += mat4(-0.1171205, -0.051218983, -0.017814573, 0.0073565254, -0.420216, 0.020106263, -0.021226753, -0.0066800443, -0.2532072, -0.02597521, 0.034862235, 0.045636144, -0.7114048, 0.07079392, 0.0012143577, -0.030522993) * input_2(-1.0, -1.0);
    result += mat4(0.0053538987, -0.012986615, -0.011036768, 0.0668292, -0.17875521, -0.076170206, -0.004558318, 0.13609082, 0.12875304, 0.045549534, 0.019731177, -0.009540904, -0.14080337, 0.020841157, 0.048521683, -0.14346929) * input_2(-1.0, 0.0);
    result += mat4(-0.045422293, 0.11815925, -0.11182211, 0.040356364, -0.052327987, -0.03518286, 0.08378153, 0.027615517, -0.02157137, 0.02017778, -0.0013513803, 0.044565536, 0.14363052, -0.03106222, -0.055020876, -0.035039492) * input_2(-1.0, 1.0);
    result += mat4(-0.16253658, 0.08529987, 0.10693173, -0.05056625, -0.460697, -0.09460288, 0.0097593255, 0.024257781, 0.0039407476, -0.024419997, -0.03389385, -0.10166913, 0.011059522, -0.0067456216, 0.027273983, 0.041435674) * input_2(0.0, -1.0);
    result += mat4(-0.031000795, -0.1769294, 0.105445035, -0.061153438, 0.4309722, 0.15370078, 0.099562794, -0.1428669, -0.21307561, -0.019274894, 0.3574818, -0.01577482, 0.06300822, -0.01452659, -0.09967271, 0.13040254) * input_2(0.0, 0.0);
    result += mat4(0.2783435, 0.2551646, -0.058885224, -0.015163094, 0.25123546, 0.04392671, -0.061261903, -0.074210435, -0.1364167, -0.110261045, 0.27527165, -0.100037575, -0.0042141774, -0.17600368, -0.10506053, 0.20931217) * input_2(0.0, 1.0);
    result += mat4(-0.08351561, -0.07969133, 0.01866022, 0.028078573, -0.030878047, -0.0041137408, -0.009267706, 0.0102866795, -0.02886977, 0.08968786, 0.024844663, 0.060104683, -0.21994123, 0.015111772, -0.055544242, 0.0525532) * input_2(1.0, -1.0);
    result += mat4(-0.03305924, -0.044337023, -0.028247852, -0.031385973, -0.060153246, -0.010313657, -0.032656755, -0.0924227, -0.18782575, -0.06259839, 0.0051857694, -0.01854945, 0.12630187, 0.1659694, -0.049728025, 0.02728287) * input_2(1.0, 0.0);
    result += mat4(0.10837669, -0.039638136, -0.15408471, -0.029488439, -0.043006938, 0.016923074, -0.05362604, 0.0876596, 0.05304387, -0.10743657, -0.5188738, 0.20705956, -0.098936364, 0.0016051724, 0.045323867, 0.05094815) * input_2(1.0, 1.0);
    result += mat4(-0.07838653, 0.75350463, -0.1088178, 0.34430522, -0.10652342, 0.05228575, 0.1020779, -0.002409084, 0.2857909, -0.03477162, 0.029016646, 0.0048591658, -0.83482736, -0.11536581, 0.02385801, -0.013645853) * input_3(-1.0, -1.0);
    result += mat4(-0.16649415, 0.047489703, 0.084742546, -0.049307, -0.06490537, 0.14764585, -0.11525582, -0.106993094, 0.009363385, -0.064196095, 0.014804091, -0.0059530195, -0.05250003, -0.029552812, 0.10529751, 0.1030639) * input_3(-1.0, 0.0);
    result += mat4(-0.28358483, 0.13321503, 0.05242547, 0.088395, -0.07319077, 0.14132492, -0.13827783, -0.093239345, 0.005181429, -0.03700078, 0.049361754, -0.044493046, -0.081496455, -0.05176781, -0.020855341, 0.002989684) * input_3(-1.0, 1.0);
    result += mat4(-0.033430044, -0.024212575, 0.08764177, -0.05667034, -0.06775572, 0.075829156, 0.13603652, 0.13858318, -0.27958784, -0.004217497, -0.019834872, -0.058157578, -0.14192495, -0.16018422, -0.12856178, 0.20592505) * input_3(0.0, -1.0);
    result += mat4(-0.20631818, 0.03581646, 0.21498162, 0.22814259, 0.006929089, -0.02772083, -0.059820216, 0.013445678, 0.16712238, -0.056057665, -0.13443132, 0.37281495, 0.04647515, 0.32066163, 0.14049952, -0.15555984) * input_3(0.0, 0.0);
    result += mat4(-0.101801336, -0.075413495, 0.073829904, -0.117503315, 0.008688331, -0.11877362, 0.026714366, -0.020374615, -0.05615526, 0.1308619, -0.06329154, 0.13031778, 0.18550523, 0.06659382, 0.037664138, 0.035832953) * input_3(0.0, 1.0);
    result += mat4(0.05546692, -0.020105008, -0.028292028, -0.008593348, 0.12169927, 0.041516464, -0.044860445, -0.029553026, 0.028198844, 0.01182431, 0.02413429, -0.020352464, -0.053863905, 0.054517813, 0.026024953, -0.13187449) * input_3(1.0, -1.0);
    result += mat4(-0.081810825, 0.03116769, 0.045095406, 0.06408592, -0.0054595796, 0.10810184, 0.057141718, -0.08229513, 0.15141778, 0.07919376, 0.14192568, -0.06565191, 0.08538462, -0.10761843, 0.0057707243, -0.20608114) * input_3(1.0, 0.0);
    result += mat4(0.07738209, 0.02057513, -0.018847367, 0.007617652, 0.11219683, 0.05423491, 0.10148892, -0.11932615, -0.06668476, 0.013523492, 0.24377294, 0.3638, -0.022504423, -0.10196521, -0.018710239, 0.06259215) * input_3(1.0, 1.0);
    result += vec4(0.10030575, -0.01858904, 0.059360847, -0.052884106);
    return max(result, vec4(0.0));
}

//!DESC [ArtCNN_Legacy_C4F16_YCbCr] (Conv-5)
//!HOOK NATIVE
//!BIND conv2d_4_tf
//!BIND conv2d_4_tf1
//!BIND conv2d_4_tf2
//!BIND conv2d_4_tf3
//!SAVE conv2d_5_tf
//!WIDTH NATIVE.w
//!HEIGHT NATIVE.h
//!COMPONENTS 4
//!WHEN OUTPUT.w NATIVE.w 1.200 * > OUTPUT.h NATIVE.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_4_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_4_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_4_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_4_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(-0.029497182, 0.047846682, -0.020825913, -0.018492892, 0.0072805826, -0.04170379, -0.0475188, 0.06563446, 0.068543784, 0.045482844, -0.0457479, -0.042493954, -0.07897736, -0.054046243, 0.018451005, 0.09796001) * input_0(-1.0, -1.0);
    result += mat4(0.02131555, -0.039033942, 0.031799547, 0.047228504, 0.09467211, -0.07906597, -0.051587295, 0.09361971, -0.029350543, -0.05258852, 0.03206655, 0.02833455, 0.031178672, -0.2397098, 0.16024576, -0.05225877) * input_0(-1.0, 0.0);
    result += mat4(0.04636178, -0.07204099, 0.045093432, 0.05591279, 0.044022888, 0.0963811, -0.08432338, -0.0041614575, 0.029373027, 0.053789854, -0.040553495, 0.014625956, -0.098548494, -0.052327882, -0.07125908, 0.071003914) * input_0(-1.0, 1.0);
    result += mat4(0.00045309617, 0.036362056, 0.035914373, -0.025855888, -0.046038043, 0.13837603, -0.064629056, 0.014432698, -0.04482912, 0.003014984, 0.09888046, 0.15156373, -0.09302607, 0.22530612, -0.07980715, 0.030968765) * input_0(0.0, -1.0);
    result += mat4(0.286355, 0.07167824, 0.12526791, 0.04503178, 0.12351497, 0.19814561, 0.009924456, -0.05518382, 0.20120616, 0.5593026, 0.17669089, 0.023067812, 0.06636461, 0.12535837, 0.19487666, -0.18074302) * input_0(0.0, 0.0);
    result += mat4(0.109520465, 0.3337246, 0.10510166, 0.07140961, -0.06659897, 0.101871826, -0.08706473, 0.056040846, 0.14382121, -0.2700312, 0.1580741, 0.019871967, -0.10686197, -0.043456554, 0.060059007, 0.05135174) * input_0(0.0, 1.0);
    result += mat4(-0.07805551, 0.12033005, -0.110815555, 0.0665006, 0.19890368, 0.11621702, 0.055253793, 0.08994809, -0.008637157, -0.04657564, -0.071624525, -0.0259962, 0.02963425, 0.116061024, -0.028424837, 0.011222757) * input_0(1.0, -1.0);
    result += mat4(0.039701983, 0.12975559, 0.1411207, 0.10132283, 0.16068976, -0.074275315, 0.027702076, 0.051681794, -0.23448567, 0.18556444, 0.016103946, -0.078882925, -0.0684902, 0.07654592, -0.08073106, -0.017654529) * input_0(1.0, 0.0);
    result += mat4(-0.2589239, 0.08331962, -0.08155021, 0.23584515, -0.052160412, 0.15306805, -0.03586492, 0.060973693, 0.07344655, -0.1887825, -0.030761976, -0.12532274, 0.09190167, -0.055240784, 0.057452075, 0.042523816) * input_0(1.0, 1.0);
    result += mat4(0.034035467, -0.021522146, 0.028752387, 0.04816957, 0.035860296, -0.0582056, 0.022029612, 0.09569446, -0.023399161, 0.13215303, 0.007502654, -0.05631196, -0.0547808, -0.07349456, -0.012406454, 0.046688396) * input_1(-1.0, -1.0);
    result += mat4(0.010094187, -0.0051250607, -0.07353911, 0.058896475, -0.011267924, -0.16553651, -0.059028592, 0.0035362297, 0.08615646, -0.20491892, 0.09746547, -0.046581455, -0.08841319, 0.103241414, -0.15550031, -0.0015806799) * input_1(-1.0, 0.0);
    result += mat4(0.044785954, -0.03552102, 0.15951641, 0.0007320004, -0.041292563, -0.017613385, -0.15051123, 0.094827965, -0.009521585, 0.26784417, -0.11599719, 0.03155405, -0.047620673, 0.14491782, 0.01701003, 0.024766812) * input_1(-1.0, 1.0);
    result += mat4(-0.15395321, -0.10767891, 0.0825241, -0.064002775, -0.18904482, 0.031933174, 0.07353511, 0.1146788, 0.11421777, -0.016973529, -0.13456187, -0.03420987, -0.07952791, 0.02959208, -0.001333947, -0.035869613) * input_1(0.0, -1.0);
    result += mat4(-0.13287908, 0.16225718, -0.075326174, 0.026606107, 0.21962136, -0.08347713, -0.05589299, -0.13852784, 0.16740854, 0.19419974, 0.09358252, 0.090736136, -0.085045464, -0.0110432925, -0.05075397, 0.017250055) * input_1(0.0, 0.0);
    result += mat4(-0.063303806, -0.009319287, -0.24203432, -0.063765794, -0.10786393, -0.110045016, -0.13118894, 0.0072594103, -0.10487479, -0.017617362, 0.10727382, -0.08689805, 0.013065136, 0.13823225, 0.032332417, 0.028163835) * input_1(0.0, 1.0);
    result += mat4(0.20136736, -0.03466589, 0.15949565, -0.004951033, 0.18814746, -0.07271176, 0.14131856, -0.022602217, -0.08173067, -0.025675837, 0.02654324, 0.08618177, -0.058271274, -0.009347606, -0.008809674, -0.0018674127) * input_1(1.0, -1.0);
    result += mat4(-0.28451225, 0.22683007, 0.17902979, -0.06562008, -0.22108515, 0.040505167, 0.018385649, -0.119398884, 0.16077013, -0.12200512, -0.074576326, -0.020652648, 0.08161431, -0.11537346, -0.076587684, -0.057900224) * input_1(1.0, 0.0);
    result += mat4(0.053449705, -0.08529093, -0.09936489, 0.06971928, -0.082562454, -0.07071947, 0.006242189, 0.015932415, 0.03719034, 0.13102706, -0.07553058, 0.011256602, -0.078438886, 0.033053026, -0.12712282, 0.08175327) * input_1(1.0, 1.0);
    result += mat4(0.039154068, -0.046680488, 0.098077595, -0.032725547, 0.004532277, 0.042763304, 0.025470536, 0.01663565, -0.05279462, -0.012769382, -0.11075389, -0.033411484, -0.1055688, 0.10988517, -0.013555246, 0.06893375) * input_2(-1.0, -1.0);
    result += mat4(0.004260787, 0.11691492, 0.08307623, -0.13744344, 0.095795974, 0.06429207, -0.021069739, 0.053656295, 0.016133504, 0.10193725, -0.031811338, 0.07683576, -0.12168757, -0.20886174, 0.09364137, 0.2730468) * input_2(-1.0, 0.0);
    result += mat4(0.060711913, -0.0035193283, 0.03918518, 0.03330674, -0.14234695, 0.17330529, 0.098464005, -0.04153332, 0.03599397, -0.122577414, -0.046015907, 0.015230721, -0.35583377, 0.6347488, -0.102765284, -0.45131207) * input_2(-1.0, 1.0);
    result += mat4(0.20244081, 0.053788465, 0.0055996175, -0.11363203, 0.049174767, -0.21574308, -0.101739444, -0.05477347, 0.06868422, 0.123053096, 0.028937537, -0.051998712, -0.04467272, 0.08880876, -0.03859774, -0.08337836) * input_2(0.0, -1.0);
    result += mat4(0.37362987, -0.1018608, -0.24218182, -0.0969381, -0.68875486, 0.5230586, -0.10932307, -0.029917518, 0.22249627, -0.042227816, 0.010566031, 0.021155428, -0.15860477, -0.10267394, -0.025359176, 0.100207694) * input_2(0.0, 0.0);
    result += mat4(0.06585095, 0.03452747, 0.07164081, -0.055798355, 0.5901669, -0.2699079, 0.6092868, 0.32885325, -0.18116301, -0.059228607, -0.20511131, 0.023214191, 0.05966975, -0.44315895, 0.5123315, 0.3596295) * input_2(0.0, 1.0);
    result += mat4(-0.100709505, -0.10443133, -0.13026571, 0.04179277, 0.043771487, 0.058965407, 0.13289818, -0.13680784, -0.20493431, 0.03619693, -0.15002596, -0.02318911, 0.020104505, 0.010206391, 0.042635787, -0.060226794) * input_2(1.0, -1.0);
    result += mat4(-0.0153573705, -0.11155364, -0.11959132, -0.06526869, 0.10004107, -0.06611183, -0.17159988, 0.34610903, -0.105395235, 0.006561449, 0.14627756, -0.09788429, 0.04404778, -0.038128745, 0.037878208, 0.061912585) * input_2(1.0, 0.0);
    result += mat4(-0.15366033, 0.15309761, -0.16085999, 0.005235116, 0.09339879, -0.1314124, 0.11063683, -0.022829948, 0.047030598, -0.07592129, -0.14715353, -0.04484728, 0.11057117, 0.07125301, 0.073155105, -0.14295909) * input_2(1.0, 1.0);
    result += mat4(-0.054850835, 0.07549778, 0.039217632, -0.090970546, -0.027818544, -0.0033311478, 0.025385467, 0.032559503, -0.0068866597, 0.001611496, -0.07053693, 0.081804544, 0.02094644, -0.0058521978, -0.035942648, -0.06515151) * input_3(-1.0, -1.0);
    result += mat4(-0.03022882, -0.023787916, -0.071922585, -0.0075578317, 0.03613869, -0.16901657, -0.11782562, 0.15290046, -0.0864538, -0.13367833, -0.06280081, 0.06384994, 0.1263448, -0.20031328, -0.021960553, -0.077760704) * input_3(-1.0, 0.0);
    result += mat4(0.027803252, 0.17483234, 0.0021577156, 0.037969407, -0.08836311, -0.0028549398, 0.023121849, -0.123920865, -0.03540265, 0.04210181, 0.09869921, -0.057488624, 0.017703189, -0.06654055, -0.07524248, 0.05076915) * input_3(-1.0, 1.0);
    result += mat4(0.04058585, 0.028007625, 0.01784847, -0.091443814, -0.00376546, 0.16353574, 0.104977734, 0.082539566, -0.11023827, -0.4354747, 0.006451489, -0.0037296368, 0.081644535, -0.079061866, 0.09775527, -0.21638021) * input_3(0.0, -1.0);
    result += mat4(-0.030581485, 0.36981013, 0.5243934, -0.11072016, -0.36129686, -0.15111168, -0.029036347, 0.007903655, -0.4435481, -0.306387, -0.06302929, -0.24383155, 0.20102116, 0.058955528, -0.17615198, 0.26310155) * input_3(0.0, 0.0);
    result += mat4(0.10842401, -0.18736385, -0.26525822, 0.028306391, 0.09977005, -0.1770228, -0.23456736, -0.19264917, 0.08179278, 0.0022605422, 0.03732131, -0.037634842, -0.07137949, 0.040030688, 0.25563407, 0.1477685) * input_3(0.0, 1.0);
    result += mat4(0.10878833, -0.19963038, -0.045202896, -0.04861569, 0.028278328, 0.05638528, 0.052443128, 0.08401225, 0.039689556, 0.07712259, 0.24443555, 0.11794239, 0.094217494, -0.051684503, -0.082667165, -0.049128752) * input_3(1.0, -1.0);
    result += mat4(-0.017587975, -0.1786875, 0.119609654, 0.27364096, 0.037450638, -0.09905228, -0.039130233, -0.13918123, 0.15905099, -0.042990144, -0.041667342, -0.15844631, -0.19868067, 0.08900948, 0.021085542, 0.004999857) * input_3(1.0, 0.0);
    result += mat4(0.07842512, -0.25526577, 0.08248058, 0.31064042, -0.1207, 0.10354871, -0.3376791, 0.16790769, -0.0105254045, 0.13732757, -0.045469455, 0.046734966, 0.08758303, -0.15035072, 0.1965847, -0.021729274) * input_3(1.0, 1.0);
    result += vec4(-0.007917811, 0.000797881, 0.00725691, 0.036413606);
    return result;
}

//!DESC [ArtCNN_Legacy_C4F16_YCbCr] (Conv-5)
//!HOOK NATIVE
//!BIND conv2d_4_tf
//!BIND conv2d_4_tf1
//!BIND conv2d_4_tf2
//!BIND conv2d_4_tf3
//!SAVE conv2d_5_tf1
//!WIDTH NATIVE.w
//!HEIGHT NATIVE.h
//!COMPONENTS 4
//!WHEN OUTPUT.w NATIVE.w 1.200 * > OUTPUT.h NATIVE.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_4_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_4_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_4_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_4_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(-0.00779728, -0.008758397, -0.0061371885, -0.046306446, -0.15834008, -0.03332425, -0.07465513, -0.13349792, 0.070832156, 0.08815967, 0.11670089, -0.064793535, -0.07789291, -0.068707846, -0.09331107, -0.1587363) * input_0(-1.0, -1.0);
    result += mat4(0.006623324, -0.059709758, 0.074011445, 0.13438635, 0.016946122, -0.086062364, 0.049248595, -0.051544927, -0.019855117, -0.089894205, -0.17102195, -0.04810835, 0.038948588, -0.14054191, 0.12208533, -0.090878256) * input_0(-1.0, 0.0);
    result += mat4(0.048040252, 0.062111795, -0.08118656, -0.13446166, -0.050597794, 0.11267098, 0.06561401, 0.044743422, 0.0054019256, -0.07099269, 0.010602514, 0.08935447, -0.077505015, -0.08493179, -0.04300952, -0.22008842) * input_0(-1.0, 1.0);
    result += mat4(0.08636568, 0.0016434999, 0.007463442, 0.073229596, -0.03609607, -0.10618703, 0.042951576, -0.11625452, 0.15769401, -0.085526004, -0.079764955, 0.044061013, 0.06050621, 0.021680655, 0.16115303, 0.026968235) * input_0(0.0, -1.0);
    result += mat4(-0.1263702, 0.1938389, 0.104347296, 0.12350007, 0.122856796, 0.14717437, 0.05173244, -0.036938243, -0.14946318, 0.28534657, 0.09044148, -0.022893582, -0.19029386, 0.12005569, 0.11180722, 0.17221887) * input_0(0.0, 0.0);
    result += mat4(0.34238988, -0.14566351, -0.2518641, 0.00057024835, -0.026043909, -0.04796776, -0.077378616, 0.019452792, 0.31019598, -0.042330217, 0.033266038, 0.14562036, -0.11982565, 0.21025626, -0.09855392, 0.10038919) * input_0(0.0, 1.0);
    result += mat4(0.023426382, 0.028639833, 0.0516524, -0.011177057, -0.07476001, -0.07980275, -0.077174224, 0.11348938, -0.06379708, 0.09358409, 0.0113147665, -0.08535863, 0.0014274622, -0.15316448, 0.009455219, 0.06302005) * input_0(1.0, -1.0);
    result += mat4(-0.18958752, -0.09683087, -0.028994756, -0.026294181, 0.08206859, 0.14193611, 0.13038611, 0.15236467, -0.11210155, 0.013417731, 0.080023184, -0.078040354, -0.06831887, 0.026747778, -0.06740856, 0.13227172) * input_0(1.0, 0.0);
    result += mat4(0.26842314, -0.5792905, -0.00868571, 0.026398957, 0.0013780419, 0.087756425, -0.04009201, 0.101094134, -0.03624725, -0.03630995, 0.061710507, 0.018809848, 0.0322668, 0.02533741, -0.010200849, -0.025487274) * input_0(1.0, 1.0);
    result += mat4(-0.079551525, 0.005582731, -0.09874504, -0.002918362, 0.14450562, -0.047670804, -0.10529269, -0.08157563, -0.061063197, 0.022518931, -0.00012737856, 0.03342848, 0.13802402, -0.10732893, 0.016626507, 0.039456286) * input_1(-1.0, -1.0);
    result += mat4(-0.13870266, 0.18037152, 0.062274188, 0.0246025, -0.067458935, -0.109259985, -0.018042574, 0.07491136, -0.14863153, 0.09596652, -0.1025299, 0.13352424, -0.022003433, 7.0943706e-06, 0.17398302, -0.012135762) * input_1(-1.0, 0.0);
    result += mat4(0.04892915, 0.10492186, -0.115207046, 0.019640082, 0.09076144, -0.034660745, 0.07691477, -0.039916184, -0.041233912, -0.06937508, 0.09062686, 0.058019724, -0.011058481, 0.08144825, 0.0068814694, 0.019931015) * input_1(-1.0, 1.0);
    result += mat4(0.0363363, -0.17514393, -0.11279708, -0.001997068, 0.12502274, 0.08620768, -0.048890665, 0.12753199, 0.030007722, -0.016836248, 0.06165537, -0.17577954, 0.034337096, 0.19359832, 0.11326523, 0.06180715) * input_1(0.0, -1.0);
    result += mat4(-0.05699023, 0.099528976, 0.12666288, 0.04041862, 0.11977029, 0.21155062, 0.024981806, 0.18072975, 0.25720024, 0.09390238, -0.090960585, 0.08572507, 0.1599699, 0.05613969, -0.055100273, -0.035953842) * input_1(0.0, 0.0);
    result += mat4(0.05830481, -0.0144693265, -0.0008386598, 0.029410684, -0.041705072, 0.07040585, 0.025926158, -0.065255664, -0.15321761, 0.089135416, 0.012291623, 0.09976331, 0.009830027, -0.119813524, 0.032129437, -0.06023667) * input_1(0.0, 1.0);
    result += mat4(-0.18743762, -0.110977165, -0.009270156, -0.059449982, -0.11413062, 0.06475145, -0.018779906, -0.05214201, 0.031418636, -0.05007438, -0.02301371, -0.03022149, 0.06301942, -0.10025878, -0.004340313, 0.02891497) * input_1(1.0, -1.0);
    result += mat4(0.048120044, -0.06930796, 0.113906235, 0.021720288, -0.005306911, 0.039623085, 0.021204507, -0.025452, -0.10008577, -0.062128082, 0.014598263, -0.19730325, -0.027739516, 0.15473557, -0.01714825, 0.02653362) * input_1(1.0, 0.0);
    result += mat4(0.07474598, -0.08680678, -0.07237384, 0.027963484, -0.09611216, -0.009686082, 0.033200186, -0.012037874, 0.020945292, -0.100858204, -0.06976669, -0.08673585, 0.040258978, -0.16082333, -0.04902372, -0.1671486) * input_1(1.0, 1.0);
    result += mat4(-0.02323378, -0.00011311243, 0.098053224, 0.09570574, 0.0108424565, -0.012022438, 0.013792286, 0.056066025, -0.09628636, 0.08638254, 0.018363377, -0.04255727, 0.008709067, 0.008841777, 0.026134685, -0.0095901955) * input_2(-1.0, -1.0);
    result += mat4(-0.06650648, 0.030713037, -0.06189158, 0.03519375, 0.033807755, 0.059109308, -0.024572378, -0.03757497, -0.063007355, 0.118670166, 0.0161412, -0.07390271, 0.537331, -0.51533645, -0.041606653, 0.12495154) * input_2(-1.0, 0.0);
    result += mat4(0.034672845, 0.08302792, 0.035994645, 0.03362272, 0.16944125, -0.16250518, -0.005492908, 0.10486795, 0.017916184, -0.030019188, -0.040417805, -0.0761872, -0.12152098, -0.113474205, 0.15009491, -0.29254824) * input_2(-1.0, 1.0);
    result += mat4(0.004141217, -0.008398465, -0.026433429, -0.071046256, -0.14629422, 0.08040613, -0.09422131, -0.012313722, 0.011931562, -0.051701497, 0.14255917, 0.107274935, -0.043813556, 0.08164562, 0.06487136, -0.014038865) * input_2(0.0, -1.0);
    result += mat4(0.045266837, -0.07431008, 0.12813145, -0.16149701, -0.1386342, -0.056795165, 0.19707397, 0.10324908, -0.11118968, -0.10009564, 0.024570994, 0.02179573, -0.2135952, 0.22317123, -0.06997053, -0.01192004) * input_2(0.0, 0.0);
    result += mat4(0.004915099, 0.1734157, -0.15749077, 0.049714822, 0.14551617, 0.098116934, 0.094363384, -0.50741494, 0.066542625, -0.19346532, -0.06648208, -0.0311584, -0.2887553, 0.202275, 0.09734866, -0.16440332) * input_2(0.0, 1.0);
    result += mat4(0.1771113, -0.070367806, -0.01441718, -0.00016890308, -0.12942572, 0.110422686, 0.07993484, -0.010683935, 0.10423787, -0.08919101, 0.034597006, 0.029386885, -0.034359485, -0.0027464235, 0.015509194, 0.027508179) * input_2(1.0, -1.0);
    result += mat4(-0.033029396, -0.10740678, 0.034043834, -0.09878217, 0.24823679, -0.054587767, -0.1666925, 0.11191339, -0.05804747, -0.0321972, -0.099981144, -0.033177476, 0.04734277, 0.028349696, -0.068303645, 0.044020433) * input_2(1.0, 0.0);
    result += mat4(-0.063248776, -0.10795218, -0.049997896, -0.0420785, -0.14499015, 0.07276141, -0.012210471, 0.22022119, 0.1214126, -0.072191566, 0.023089321, 0.034382578, -0.024391014, -0.016256448, 0.02443273, -0.024676321) * input_2(1.0, 1.0);
    result += mat4(-0.0002687078, -0.017217137, 0.036505867, 0.060160127, -0.040242568, -0.08379389, -0.046275012, -0.08400227, 0.010605791, 0.05381552, -0.17528893, -0.18654533, -0.024164384, -0.103835, 0.0011372402, -0.056797482) * input_3(-1.0, -1.0);
    result += mat4(-0.14441682, -0.052912746, 0.049511567, 0.17917924, 0.02826053, 0.02253233, 0.1128655, 0.0022724792, 0.015992168, -0.1437947, 0.13649926, 0.09648772, 0.036250986, -0.062943466, -0.028735492, -0.16340776) * input_3(-1.0, 0.0);
    result += mat4(0.13824233, 0.061189834, -0.11911489, -0.3010254, -0.01796905, 0.06529712, -0.10137525, -0.048312556, -0.028315384, -0.015547388, -0.056039117, -0.035411976, -0.016501844, -0.06941026, 0.05948393, -0.09519574) * input_3(-1.0, 1.0);
    result += mat4(0.05683208, 0.038687494, 0.08853556, 0.06791127, 0.057656754, 0.062754974, 0.019733341, 0.26807633, 0.030161291, -0.13434501, -0.07460029, -0.1137002, -0.09544754, 0.11196244, -0.060492363, -0.018251708) * input_3(0.0, -1.0);
    result += mat4(-0.14067541, -0.08689337, 0.06325276, 0.5903239, -0.07491265, 0.20394629, -0.045611538, 0.08516727, -0.05879625, -0.31955284, 0.20738016, 0.030874405, 0.0905744, -0.050709043, -0.14811926, 0.20177932) * input_3(0.0, 0.0);
    result += mat4(0.17026265, -0.4311786, -0.21341683, 0.0856305, 0.012524356, -0.03320444, 0.002158317, 0.018527662, -0.1201219, -0.02585839, 0.034266137, 0.012638682, -0.046460796, -0.0008314079, -0.07293261, -0.12917732) * input_3(0.0, 1.0);
    result += mat4(0.021558437, -0.03653775, -0.14994733, -0.020129196, -0.07310938, -0.0978241, 0.026992917, -0.111822516, 0.07955321, 0.049439, -0.11983137, -0.0085780965, 0.06263807, 0.046939988, -0.01291371, 0.14136611) * input_3(1.0, -1.0);
    result += mat4(0.03971818, -0.45439205, -0.097040236, -0.34555635, -0.008392883, -0.0018485361, -0.11336882, 0.14566009, 0.07004983, 0.17443779, 0.044526093, 0.08278168, 0.08107403, 0.07238556, 0.0536061, 0.08774495) * input_3(1.0, 0.0);
    result += mat4(0.059180353, -0.12764736, -0.08385219, -0.094148144, 0.03128122, -0.15956822, 0.016694523, -0.067987986, -0.0073242006, 0.06846466, 0.04519522, -0.03809809, 0.05193829, 0.12739795, -0.0068166615, 0.13178945) * input_3(1.0, 1.0);
    result += vec4(-0.01637205, 0.005193566, -0.017134512, 0.0076608253);
    return result;
}

//!DESC [ArtCNN_Legacy_C4F16_YCbCr] (Conv-5)
//!HOOK NATIVE
//!BIND conv2d_4_tf
//!BIND conv2d_4_tf1
//!BIND conv2d_4_tf2
//!BIND conv2d_4_tf3
//!SAVE conv2d_5_tf2
//!WIDTH NATIVE.w
//!HEIGHT NATIVE.h
//!COMPONENTS 4
//!WHEN OUTPUT.w NATIVE.w 1.200 * > OUTPUT.h NATIVE.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_4_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_4_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_4_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_4_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(0.047506407, 0.040061392, -0.003097618, -0.0026092469, 0.002471809, 0.04921123, -0.026528912, 0.08814901, 0.09580175, -0.0040684496, 0.04688437, -0.03168333, 0.017737882, 0.00021510092, 0.115884505, -0.06577654) * input_0(-1.0, -1.0);
    result += mat4(0.05322752, -0.041000582, -0.03153193, -0.026999967, 0.071831726, -0.038832683, 0.087634, -0.11060061, -0.0019314233, 0.006747751, 0.03819181, -0.067638315, 0.24792492, -0.12492618, 0.03843647, 0.04053404) * input_0(-1.0, 0.0);
    result += mat4(-0.07868454, -2.1938233e-05, 0.03219162, 0.03472766, -0.08900771, 0.18831266, 0.029781936, -0.0967136, -0.11436999, 0.050297692, -0.058128983, 0.043112602, 0.039647967, 0.04391043, 0.16158114, -0.046318762) * input_0(-1.0, 1.0);
    result += mat4(-0.0950482, 0.015795756, 0.054844834, -0.032904387, 0.084781386, 0.007947745, 0.02812657, 0.10362323, 0.0885003, -0.17860085, -0.09869825, 0.12132612, -0.06549385, 0.018004628, 0.046907768, 0.10380173) * input_0(0.0, -1.0);
    result += mat4(-0.3883428, 0.050564542, 0.11932234, 0.010644046, -0.116855346, -0.055370316, -0.17106025, -0.0043887445, -0.09991743, 0.18991296, -0.035690837, 0.14103404, 0.13735001, -0.061103355, -0.1096388, -0.08294024) * input_0(0.0, 0.0);
    result += mat4(0.04729047, -0.13534297, 0.13495515, -0.07082117, 0.14013542, -0.06969299, -0.1561831, 0.031373646, 0.068714716, -0.12557094, -0.12545808, 0.051700603, 0.02044818, 0.027641552, 0.14711498, -0.25889316) * input_0(0.0, 1.0);
    result += mat4(0.020674314, 0.031701855, -0.06236806, 0.0015108727, 0.11319597, 0.030346286, 0.009132528, -0.12505569, -0.027356567, 0.034196436, 0.006315509, -0.14342412, 0.013978624, -0.08447893, -0.028605713, 0.050016608) * input_0(1.0, -1.0);
    result += mat4(-0.048494596, 0.08468294, -0.13133195, 0.10305288, 0.12623803, 0.019266332, -0.117179416, -0.019953977, -0.08111603, 0.053391982, -0.047605835, 0.01908182, -0.0004584971, 0.060374886, 0.005500108, 0.049131062) * input_0(1.0, 0.0);
    result += mat4(-0.27467328, -0.25094435, 0.030494079, 0.04827527, -0.035297446, -0.1038709, 0.15606375, -0.027715482, -0.124069124, -0.030281244, 0.056205653, -0.07269436, -0.1516544, 0.040245507, 0.05845674, 0.016503593) * input_0(1.0, 1.0);
    result += mat4(0.0021756885, -0.0028585687, -0.10095519, -0.033422068, 0.022121675, 0.10494477, 0.008689872, 0.01889415, -0.03341194, -0.016043128, 0.013531403, -0.060091756, 0.021305503, -0.024778655, 0.048675153, -0.025147052) * input_1(-1.0, -1.0);
    result += mat4(-0.10116151, 0.06545586, -0.057153933, -0.040909663, 0.02761232, 0.077112645, -0.07678687, 0.11100924, -0.28680822, 0.050103836, 0.029431354, -0.021254817, 0.06968807, 0.07244191, -0.022835242, 0.111486964) * input_1(-1.0, 0.0);
    result += mat4(0.0023302427, -0.05234066, -0.026413992, -0.046823855, 0.20104258, 0.020279841, -0.122732334, -0.017983388, -0.069472015, -0.022140486, 0.05653216, 0.063322924, 0.03164935, 0.058554552, -0.07118512, -0.074959554) * input_1(-1.0, 1.0);
    result += mat4(-0.089826144, -0.011620476, 0.12687483, 0.073321044, -0.16204122, 0.012959773, 0.0030242708, 0.021655794, -0.03222193, 0.08699721, 0.108989075, -0.051125247, -0.18260251, -0.06985572, -0.058022797, 0.08701132) * input_1(0.0, -1.0);
    result += mat4(0.063436516, 0.14038719, -0.11212594, 0.21058989, 0.06469521, -0.0063778884, -0.08500419, 0.12419492, 0.26875263, -0.19555901, -0.119125746, -0.007781934, 0.12563187, -0.07664936, -0.016043749, -0.024153) * input_1(0.0, 0.0);
    result += mat4(-0.050140783, -0.048828624, 0.062418148, -0.13549083, 0.21693724, -0.045530118, 0.023047298, -0.00038143384, 0.022424689, 0.013064851, -0.007732785, 0.054004353, 0.052400198, -0.06784176, -0.050015736, 0.049037907) * input_1(0.0, 1.0);
    result += mat4(0.24502678, 0.051242817, -0.037869044, 0.01175824, 0.098268755, 0.10639144, -0.047677293, -0.1808539, -0.10026239, 0.012816095, 0.06336046, 0.017408006, -0.093687125, -0.076361395, 0.06549866, -0.03471099) * input_1(1.0, -1.0);
    result += mat4(-0.020939289, 0.124245465, 0.039056815, 0.1663189, -0.23105669, 0.0497522, 0.074621454, -0.0879273, 0.013211255, -0.09180174, 0.03702963, -0.14189808, -0.15964358, -0.1409984, 0.09041179, -0.3204145) * input_1(1.0, 0.0);
    result += mat4(-0.028573275, -0.047278035, 0.015571731, -0.007307583, 0.12627263, -0.06888927, -0.094389535, -0.00047180612, 0.016077017, -0.03158944, -0.052079983, 0.051369354, 0.10359457, -0.06971424, 0.11907125, -0.053162497) * input_1(1.0, 1.0);
    result += mat4(-0.10233076, -0.13216399, -0.05316801, 0.08308891, -0.031785008, 0.04998439, 0.048590858, -0.022537772, 0.054669254, 0.057916224, 0.0040257866, -0.06902245, -0.13133277, 0.030084368, 0.13714853, -0.01912263) * input_2(-1.0, -1.0);
    result += mat4(-0.12474035, -0.15216771, 0.033056986, -0.0040527615, -0.0803281, 0.07932002, 0.06492451, 0.035490327, -0.0032948602, 0.0919439, 0.055819824, -0.09723088, 0.1190955, -0.044538125, 0.11652164, 0.12093889) * input_2(-1.0, 0.0);
    result += mat4(-0.0867465, 0.04837254, 0.04614039, 0.046278678, 0.12988001, -0.12635455, -0.025784487, -0.1898064, 0.03626379, -0.055530258, -0.0023432272, 0.0022611504, 0.031034699, 0.11969854, -0.20321791, 0.2573686) * input_2(-1.0, 1.0);
    result += mat4(0.09484172, -0.020705536, -0.014215351, -0.016008833, -0.039317638, -0.031037936, -0.036049165, -0.032351773, 0.012417029, -0.106490895, 0.033387735, 0.12181225, -0.08227242, -0.021024162, 0.17112224, -0.14100462) * input_2(0.0, -1.0);
    result += mat4(0.15884979, 0.16282016, 0.092896, 0.08123231, 0.29624262, -0.16375896, -0.09907733, 0.041109245, -0.13783829, -0.09337313, -0.05906158, 0.06779924, 0.33928606, -0.010101056, -0.29726171, -0.19926678) * input_2(0.0, 0.0);
    result += mat4(-0.025633125, 0.11042633, 0.011708717, 0.023842175, -0.33010525, -0.044714335, -0.13228254, -0.1565869, 0.0350906, 0.03105439, 0.029523943, -0.036491744, -0.040724184, -0.026353322, 0.40259472, -0.26269436) * input_2(0.0, 1.0);
    result += mat4(0.014940997, -0.05564637, -0.14253554, 0.16684811, -0.03799208, 0.08566733, 0.1923624, -0.27777675, -0.13464123, -0.122668654, -0.10011624, 0.21823514, -0.023047281, -0.041133627, 0.05025899, -0.015833996) * input_2(1.0, -1.0);
    result += mat4(-0.18273766, -0.060355417, 0.10574751, -0.08780962, 0.32164186, -0.18012644, -0.48645756, 0.3775795, -0.16049016, -0.0035615454, 0.19432391, -0.03126582, 0.15665455, -0.0073625427, -0.030512346, 0.05923491) * input_2(1.0, 0.0);
    result += mat4(-0.03311313, 0.08824141, 0.06701862, 0.048095718, -0.021925565, 0.043433815, 0.16560929, -0.23571864, -0.021175787, 0.0146369375, -0.004901363, 0.0779989, 0.021052545, 0.0049793045, -0.04591844, 0.028556705) * input_2(1.0, 1.0);
    result += mat4(-0.0074144043, -0.021494769, 0.0044467277, -0.041480273, 0.09651451, -0.005216963, -0.073844306, 0.09513814, 0.056197558, 0.08268202, 0.09261015, -0.1499186, 0.115531296, 0.032947935, 0.05198657, 0.022249224) * input_3(-1.0, -1.0);
    result += mat4(-0.028330551, 0.12417613, 0.08822122, 0.03381789, 0.14386724, 0.047476906, -0.049748898, -0.019655874, 0.100674555, 0.03259119, -0.16758776, 0.120512016, 0.071239784, 0.05075739, 0.078903146, -0.11271986) * input_3(-1.0, 0.0);
    result += mat4(0.09473333, 0.051539242, 0.09958529, -0.25548434, -0.013572115, 0.00084577326, 0.14828943, -0.08718475, 0.027134765, 0.015032633, -0.001923568, -0.022823669, -0.00018894768, -0.029988782, 0.016201928, 0.06863626) * input_3(-1.0, 1.0);
    result += mat4(0.056926817, -0.032879163, -0.045264695, -0.10224329, -0.02574508, 0.043418907, -0.1447541, -0.06406283, -0.16826549, 0.04730614, 0.093582235, 0.049439866, -0.019108137, -0.103167556, -0.12707284, -0.07176391) * input_3(0.0, -1.0);
    result += mat4(-0.10450319, 0.11563738, -0.3220294, 0.18073681, -0.29949647, 0.15159889, -0.024710909, 0.25909635, -0.031068305, -0.121487625, -0.14860597, 0.45584, 0.16554701, 0.0724661, -0.04213399, -0.043895308) * input_3(0.0, 0.0);
    result += mat4(0.07467434, 0.029587764, 0.19272773, -0.38481194, -0.012460301, -0.217665, 0.13085626, -0.21526933, -0.0270561, 0.03323505, 0.010194332, 0.012620882, 0.019516759, 0.20763503, -0.08084506, 0.017058045) * input_3(0.0, 1.0);
    result += mat4(-0.022565223, -0.033749476, -0.0015067015, 0.096422456, 0.07684668, 0.008983754, 0.05789827, 0.04745275, 0.012267593, 0.21132888, 0.19455907, 0.05234014, -8.034646e-05, -0.046158783, -0.11537795, 0.068501435) * input_3(1.0, -1.0);
    result += mat4(0.18271971, 0.09875186, 0.41001666, -0.03383167, -0.20030455, -0.08764092, 0.12122961, -0.19913466, 0.14516726, -0.15430002, -0.14024262, -0.0010267319, -0.0034274885, 0.13666807, -0.01598117, 0.12393708) * input_3(1.0, 0.0);
    result += mat4(0.06362927, -0.09068525, -0.28555152, 0.04784382, 0.039665956, -0.13677567, 0.02939976, 0.012293933, 0.0152305905, -0.002634161, 0.061551377, -0.07421898, 0.08697009, 0.076672785, -0.06765231, 0.047802296) * input_3(1.0, 1.0);
    result += vec4(-0.006007675, 0.006087379, 0.016238138, -0.0042568273);
    return result;
}

//!DESC [ArtCNN_Legacy_C4F16_YCbCr] (Conv-5)
//!HOOK NATIVE
//!BIND conv2d_4_tf
//!BIND conv2d_4_tf1
//!BIND conv2d_4_tf2
//!BIND conv2d_4_tf3
//!SAVE conv2d_5_tf3
//!WIDTH NATIVE.w
//!HEIGHT NATIVE.h
//!COMPONENTS 4
//!WHEN OUTPUT.w NATIVE.w 1.200 * > OUTPUT.h NATIVE.h 1.200 * > *
#define input_0(x_off, y_off) (conv2d_4_tf_texOff(vec2(x_off, y_off)))
#define input_1(x_off, y_off) (conv2d_4_tf1_texOff(vec2(x_off, y_off)))
#define input_2(x_off, y_off) (conv2d_4_tf2_texOff(vec2(x_off, y_off)))
#define input_3(x_off, y_off) (conv2d_4_tf3_texOff(vec2(x_off, y_off)))
vec4 hook() {
    vec4 result = mat4(0.01464823, 0.017877793, 0.0012023929, 0.039840464, -0.074920684, 0.058552228, -0.032890275, 0.0083759995, -0.08798688, 0.0024946642, -0.030194035, -0.044838715, -0.012886995, -0.015943727, 0.027297478, 0.01728638) * input_0(-1.0, -1.0);
    result += mat4(-0.1096903, -0.052758146, 0.0040031746, -0.028900124, 0.09452234, -0.099109076, 0.0878323, -0.07338067, -0.07424398, 0.1428384, 0.051100697, 0.039778445, -0.2130697, -0.19104648, 0.0391653, 0.0032002227) * input_0(-1.0, 0.0);
    result += mat4(-0.016380562, -0.06424162, 0.042568333, -0.07988587, 0.025131911, 0.0711225, -0.049060017, 0.02946095, 0.0021721423, 0.11138498, 0.0048506013, -0.04245199, -0.07347114, -0.16538112, 0.026732642, 0.0865481) * input_0(-1.0, 1.0);
    result += mat4(0.15893327, 0.050497618, -0.033105858, 0.008669769, 0.03425277, 0.12999703, -0.09151578, 0.07682138, -0.043152537, -0.1919148, 0.13303815, 0.18064025, 0.12891258, 0.106686674, -0.064596236, -0.038624246) * input_0(0.0, -1.0);
    result += mat4(-0.061522644, -0.09207378, -0.1462857, -0.13091698, 0.24948086, 0.014289228, -0.05679333, 0.023398587, 0.117942706, -0.27258182, -0.018868767, 0.03610202, 0.02040629, -0.16081357, -0.0083445255, 0.119773656) * input_0(0.0, 0.0);
    result += mat4(-0.10124351, -0.06092785, 0.28812936, 0.29664576, 0.18107246, 0.1753238, -0.00981543, 0.2098784, -0.05656012, -0.010933365, 0.003543815, -0.23569676, 0.1174239, -0.016603313, 0.06509608, 0.15478607) * input_0(0.0, 1.0);
    result += mat4(-0.060024336, -0.09407104, -0.0043362738, 0.06556318, 0.012359773, -0.019822946, 0.052493256, -0.05730823, -0.08531329, 0.06390319, 0.009109072, -0.037798315, 0.0189439, 0.033230413, -0.08136751, 0.045320336) * input_0(1.0, -1.0);
    result += mat4(-0.072583675, -0.048569296, -0.08909679, -0.24370766, 0.006910884, -0.104682855, -0.059073683, 0.07954209, -0.07370745, 0.1390212, 0.009465793, -0.06771631, -0.03238885, -0.036645867, 0.00015195366, -0.07362697) * input_0(1.0, 0.0);
    result += mat4(-0.06065856, 0.08240172, 0.086996555, -0.40730548, -0.0077443463, -0.051114447, -0.053382546, 0.13885807, -0.15890443, 0.036900215, -0.031533517, -0.16581583, 0.014782875, 0.005390013, -0.0132071115, -0.12544267) * input_0(1.0, 1.0);
    result += mat4(-0.074024335, -0.009755478, 0.05801755, 0.04135056, -0.0026440138, -0.02144609, 0.086586215, -0.00768682, 0.119427584, 0.0012240469, -0.022824856, 0.06941813, -0.07120128, 0.008339436, 0.048575856, -0.082831345) * input_1(-1.0, -1.0);
    result += mat4(0.17440008, -0.0821218, 0.058156565, -0.024867475, 0.10264197, 0.06065587, -0.13920853, -0.1806678, 0.17376146, 0.2900567, -0.03618227, -0.09836704, -0.03605468, -0.13809669, -0.11961445, -0.13168432) * input_1(-1.0, 0.0);
    result += mat4(0.14922379, 0.0027053636, 0.048751734, 0.022557419, -0.15573306, 0.11455984, -0.0053398027, 0.016753215, -0.087560125, 0.017942652, -0.0036904013, 0.06586912, 0.12613136, 0.064585485, -0.059278935, 0.09071302) * input_1(-1.0, 1.0);
    result += mat4(-0.019596597, 0.0007585937, -0.0013748645, 0.07523964, 0.02675221, 0.067656964, -0.051566463, 0.06792505, 0.0055958116, 0.14641444, -0.0021683122, -0.050594084, 0.12109527, 0.05054476, -0.0377826, -0.07790046) * input_1(0.0, -1.0);
    result += mat4(-0.056082252, 0.14114186, -0.04700294, -0.18947726, -0.08173838, -0.16400784, -0.027078416, -0.06493389, 0.13679308, -0.20164362, 0.093783796, 0.10185296, 0.04136482, 0.079641, -0.07189624, 0.016290374) * input_1(0.0, 0.0);
    result += mat4(-0.0734973, -0.048244122, -0.12189729, 0.11545144, -0.004131672, 0.10034591, -0.019040572, 0.044010274, -0.082169905, -0.09618458, 0.041555084, 0.03938341, -0.09785619, -0.05918797, -0.00029032398, 0.050446495) * input_1(0.0, 1.0);
    result += mat4(-0.056696806, -0.14725932, -0.08171686, -0.031426784, 0.08199966, -0.11439132, -0.015413633, -0.045325674, 0.05455805, 0.10403333, 0.059728093, 0.0106603345, -0.07009269, 0.24655198, -0.08601917, -0.039202716) * input_1(1.0, -1.0);
    result += mat4(-0.022048432, 0.2427566, -0.055023845, 0.10149473, 0.13572997, 0.031143002, 0.10163416, 0.02877771, -0.20218724, -0.12223443, -0.061494697, 0.031412616, -0.042198464, -0.056355536, 0.06237668, 0.036901023) * input_1(1.0, 0.0);
    result += mat4(0.004338368, 0.014340183, 0.037526757, -0.005806588, 0.01870813, -0.019340228, 0.023589168, 0.015800815, -0.013292547, 0.021593746, -0.0022305201, 0.035772406, -0.14542408, -0.1114468, 0.1070264, 0.13805011) * input_1(1.0, 1.0);
    result += mat4(0.035129637, -0.018453488, -0.041224662, -0.0066051134, -0.020846909, 0.028094707, -0.053105596, -0.0507973, 0.18565111, 0.12531503, 0.024265733, -0.091322936, 0.14209332, 0.031347584, 0.0075585837, -0.01681941) * input_2(-1.0, -1.0);
    result += mat4(0.04118077, -0.029219596, 0.08978078, 0.137796, 0.1253818, -0.14029919, -0.031961184, 0.06435315, 0.18104318, 0.1316341, 0.058650076, -0.047769587, -0.09096225, 0.34234396, -0.25034058, -0.27250594) * input_2(-1.0, 0.0);
    result += mat4(-0.069775626, -0.13695242, -0.017811738, -0.09707396, -0.011081364, 0.005587714, 0.028768728, 0.16321029, -0.10065405, -0.040224973, 0.09746738, 0.050508417, 0.36513367, 0.55122334, -0.117506325, 0.088347495) * input_2(-1.0, 1.0);
    result += mat4(-0.06877371, -0.04307255, -0.04037891, 0.08279168, 0.20992546, -0.14798345, 0.13335192, -0.028104104, -0.13066602, -0.07329415, -0.18091233, 0.04093649, 0.06618469, -0.07476589, 0.035532724, 0.10942536) * input_2(0.0, -1.0);
    result += mat4(-0.15478793, 0.030687718, 0.088353924, 0.009489197, -0.24439436, 0.28475794, -0.06858596, 0.24710797, 0.14351124, -0.08099931, 0.039226446, 0.075359836, 0.037101936, -0.22656979, 0.1114904, 0.03480772) * input_2(0.0, 0.0);
    result += mat4(0.075284705, 0.063709445, 0.04559288, 0.06308776, -0.04411228, 0.05344387, 0.0063392837, -0.6912954, 0.024931211, 0.029828487, 0.06436858, 0.034729037, -0.023919983, -0.33947113, 0.19058716, 0.04289964) * input_2(0.0, 1.0);
    result += mat4(-0.09436389, 0.025629183, -0.07174905, -0.103350386, -0.004685673, -0.09373767, -0.040849317, 0.091011144, -0.08216431, 0.1237015, 0.028837476, -0.11201219, 0.04318483, 0.025062399, -0.016099174, 0.032636672) * input_2(1.0, -1.0);
    result += mat4(-0.012438421, 0.09892144, -0.13015164, 0.0064815246, 0.065241985, 0.015250322, 0.09051113, -0.19117679, 0.08506246, 0.024103345, 0.024496822, -0.082089156, 0.05883452, -0.018044502, 0.08001501, 0.019570418) * input_2(1.0, 0.0);
    result += mat4(0.05892163, -0.022209806, 0.07723273, 0.106435895, 0.09836697, -0.09260691, 0.025760047, -0.052360576, -0.017195296, -0.032287393, 0.018704038, 0.019191435, -0.044161137, -0.021415485, -0.108630985, -0.036720317) * input_2(1.0, 1.0);
    result += mat4(0.056163535, -0.010506306, 0.010494319, 0.061200112, -0.11558495, -0.061931185, 0.027415413, 0.072728366, -0.0005919516, 0.03150299, 0.11920683, 0.059098437, -0.17793688, -0.15142013, -0.01597937, 0.084737524) * input_3(-1.0, -1.0);
    result += mat4(0.019276224, -0.05476041, -0.119881, 0.0037954398, 0.010900728, -0.071884416, -0.040481698, -0.11472825, -0.1115428, 0.0089237215, -0.12981479, -0.087605596, 0.045517094, 0.18620446, -0.011296318, -0.02072621) * input_3(-1.0, 0.0);
    result += mat4(0.07722633, -0.007119626, 0.027065426, 0.15537857, 0.08996775, -0.031973485, 0.042398494, 0.076643154, 0.09679188, -0.0036212474, -0.0013517796, 0.030465152, -0.2006089, -0.071960144, 0.03446804, -0.023672508) * input_3(-1.0, 1.0);
    result += mat4(0.01705565, -0.0748102, -0.011581338, 0.034180176, -0.21478313, -0.11483643, -0.03309015, -0.107858256, 0.09646424, 0.14615634, 0.1425236, -0.18045895, 0.091585636, -0.18682624, 0.0011751121, 0.120009035) * input_3(0.0, -1.0);
    result += mat4(0.24835968, -0.3993243, -0.29213205, -0.17757092, 0.23795421, -0.056597266, 0.013322016, -0.08191032, -0.22244991, -0.021969855, -0.2243989, -0.19682123, 0.25304794, 0.14442724, -0.026893977, 0.07036797) * input_3(0.0, 0.0);
    result += mat4(0.03738362, 0.24623652, 0.2508628, 0.3072033, 0.08374527, 0.09771912, 0.037031263, 0.18673413, 0.018424533, 0.00712816, -0.036161143, -0.030422589, 0.23282327, 0.013505221, 0.062527545, -0.15015304) * input_3(0.0, 1.0);
    result += mat4(0.012272772, -0.085599355, -0.005970372, -0.028993893, -0.044506576, -0.078639396, -0.05405049, 0.008387113, 0.21011637, 0.12870817, 0.24682875, 0.13366579, 0.04926695, -0.057439663, -0.010507653, -0.14646737) * input_3(1.0, -1.0);
    result += mat4(0.02584699, 0.36301023, 0.05246838, -0.07109615, 0.032384306, -0.0983323, -0.14341372, 0.019890137, -0.12912545, -0.014386102, -0.093592435, -0.014945292, 0.12203048, 0.028977359, 0.1100204, 0.071776554) * input_3(1.0, 0.0);
    result += mat4(-0.4436628, -0.3453166, -0.39717495, 0.17571522, 0.05859813, -0.10921415, -0.0473929, 0.22805992, 0.0167865, -0.09513223, 0.03204414, 0.12839389, 0.028691024, 0.07393472, -0.02203868, -0.09904392) * input_3(1.0, 1.0);
    result += vec4(-0.007846861, -0.01851836, 0.0072669075, 0.022206243);
    return result;
}

//!DESC [ArtCNN_Legacy_C4F16_YCbCr] (Long-Skip-Conv-6)
//!HOOK NATIVE
//!BIND conv2d_5_tf
//!BIND conv2d_tf
//!BIND conv2d_5_tf1
//!BIND conv2d_tf1
//!BIND conv2d_5_tf2
//!BIND conv2d_tf2
//!BIND conv2d_5_tf3
//!BIND conv2d_tf3
//!SAVE conv2d_6_tf
//!WIDTH NATIVE.w
//!HEIGHT NATIVE.h
//!COMPONENTS 4
//!WHEN OUTPUT.w NATIVE.w 1.200 * > OUTPUT.h NATIVE.h 1.200 * > *
#define input_0(x_off, y_off) ((conv2d_5_tf_texOff(vec2(x_off, y_off)))+(conv2d_tf_texOff(vec2(x_off, y_off))))
#define input_1(x_off, y_off) ((conv2d_5_tf1_texOff(vec2(x_off, y_off)))+(conv2d_tf1_texOff(vec2(x_off, y_off))))
#define input_2(x_off, y_off) ((conv2d_5_tf2_texOff(vec2(x_off, y_off)))+(conv2d_tf2_texOff(vec2(x_off, y_off))))
#define input_3(x_off, y_off) ((conv2d_5_tf3_texOff(vec2(x_off, y_off)))+(conv2d_tf3_texOff(vec2(x_off, y_off))))
vec4 hook() {
    vec4 result = mat4(-0.12957062, -0.070857555, 0.039223272, 0.054680128, -0.068110704, -0.10053023, -0.053763907, -0.061106995, 0.17988195, 0.029495113, 0.24365096, 0.09360209, 0.017890884, -0.014170271, -0.082309976, -0.042231075) * input_0(-1.0, -1.0);
    result += mat4(0.49105597, -0.16161966, 0.23366524, -0.15746318, 0.07391672, -0.07245405, 0.0664979, -0.066949606, 0.10703786, 0.08601323, -0.068223685, -0.06606277, -0.045846567, -0.18991043, 0.18949948, 0.06577018) * input_0(-1.0, 0.0);
    result += mat4(-0.05300489, -0.16657871, 0.1103741, -0.2870044, -0.027933592, -0.0243718, 0.16514848, -0.081047945, -0.020514727, -0.046791717, 0.071590856, 0.09603992, 0.091900654, 0.0009930416, -0.08983239, -0.053651944) * input_0(-1.0, 1.0);
    result += mat4(-0.011268315, -0.0512378, 0.18830135, 0.19323029, 0.12815605, 0.07185049, 0.17833751, 0.061988518, -0.089156836, 0.0824728, 0.21944366, 0.31275982, 0.055193022, -0.03761013, 0.16017005, -0.10217324) * input_0(0.0, -1.0);
    result += mat4(0.27252257, 0.7892755, -0.011243466, 0.28985402, -0.4597658, -0.045803443, -0.03253381, 0.21053123, -0.44451943, -0.35839373, -0.5476242, -0.47250906, 0.08742974, 0.053725287, 0.014231609, 0.16086753) * input_0(0.0, 0.0);
    result += mat4(0.0066149225, -0.08153049, -0.0481769, 0.14793934, 0.06958502, -0.012160338, -0.22377042, 0.034734514, 0.06411467, 0.071145006, -0.11836296, -0.04398527, 0.05768413, 0.15949218, 0.12086816, -0.16363043) * input_0(0.0, 1.0);
    result += mat4(-0.13686071, -0.023938976, -0.18562345, -0.0671377, -0.11260571, -0.071093544, -0.07672276, -0.02539264, -0.018047443, -0.05668979, 0.05009257, 0.021913676, -0.152865, -0.06394945, -0.1757302, -0.06654821) * input_0(1.0, -1.0);
    result += mat4(-0.22369438, 0.0071770353, -0.18499887, 0.1585263, 0.09395912, 0.103756994, -0.007613404, 0.12594588, -0.0081705265, -0.029546242, 0.039401956, -0.10126015, 0.19652142, 0.14480756, 0.14556897, 0.09189242) * input_0(1.0, 0.0);
    result += mat4(-0.036940094, 0.042987265, -0.07956457, -0.048727065, 0.012949211, -0.022552308, 0.0943006, -0.015885381, -0.034993134, 0.0288452, -0.024633002, 0.06323899, 0.010100104, -0.013605085, 0.0029932351, 0.030170688) * input_0(1.0, 1.0);
    result += mat4(0.073499456, 0.09230659, -0.04858909, 0.0070342976, 0.22123533, 0.11757714, 0.13339208, 0.01024384, 0.05239132, -0.03544276, -0.02177539, 0.17250296, 0.0077344705, 0.09216235, 0.15123309, 0.1277456) * input_1(-1.0, -1.0);
    result += mat4(-0.04031352, -0.11068003, 0.050678212, -0.0740932, -0.09819726, -0.14357154, -0.046786852, -0.05205237, 0.054424003, 0.120450266, -0.048300337, 0.12191079, -0.09371378, -0.22262605, -0.16309038, -0.10200079) * input_1(-1.0, 0.0);
    result += mat4(0.10770965, -0.009126126, -0.05649156, 0.08956534, 0.08542394, -0.030009866, -0.024273084, -0.042506974, 0.016677922, -0.03807861, 0.053900465, 0.1588172, 0.013042544, -0.035197414, 0.07301839, -0.050758317) * input_1(-1.0, 1.0);
    result += mat4(-0.108154014, -0.18916711, 0.08478369, -0.09635875, -0.13419077, -0.05479921, -0.09054052, 0.043601274, 0.062965505, 0.19272509, 0.12262525, 0.05571671, -0.12183849, -0.027543165, -0.35481864, -0.12902737) * input_1(0.0, -1.0);
    result += mat4(-0.22536947, 0.03246203, 0.08125864, -0.113885514, 0.14972295, 0.38969767, 0.33567458, 0.3171548, 0.20493357, 0.11699998, 0.11832192, -0.05297278, -0.13576974, -0.18502222, -0.26119828, -0.30879682) * input_1(0.0, 0.0);
    result += mat4(0.14648415, 0.22492649, -0.13533007, -0.07122871, -0.27584884, -0.077076435, -0.14585015, 0.18710032, 0.11874667, 0.01937244, -0.023530953, 0.15813707, 0.12930958, 0.07464452, 0.07794551, 0.03366469) * input_1(0.0, 1.0);
    result += mat4(-0.031052072, -0.0014884478, 0.12710644, 0.22327496, 0.061728306, 0.0027918871, -0.01857095, -0.066525914, 0.0054423707, 0.16435173, 0.06985867, 0.16357, -0.016148785, -0.14130867, 0.024797268, -0.15889037) * input_1(1.0, -1.0);
    result += mat4(0.021112166, -0.10882128, -0.080336854, -0.14442745, -0.16811088, -0.07443561, -0.03289212, 0.0060243993, 0.11303396, -0.064586796, -0.08974079, 0.11472308, 0.12109966, 0.14673418, -0.07005501, -0.02034274) * input_1(1.0, 0.0);
    result += mat4(-0.063974336, -0.003695951, -0.0016089865, -0.10025779, 0.048252333, -0.120127976, 0.14024964, -0.02780728, 0.040442683, 0.18199167, -0.04675777, -0.12339481, -0.0628962, 0.004023608, 0.05196625, 0.13108611) * input_1(1.0, 1.0);
    result += mat4(0.05885419, -0.009830252, 0.12851596, 0.11478654, 0.07541058, -0.01660617, 0.04228529, 0.019694703, -0.06119112, 0.046296265, 0.028924026, 0.08515225, 0.012350257, 0.011155927, -0.03341655, 0.032161433) * input_2(-1.0, -1.0);
    result += mat4(0.012242314, -0.24596639, 0.024925707, -0.17022938, 0.14162047, 0.042467598, 0.08713727, -0.09859112, -0.102106236, -0.11897944, -0.19414279, -0.071556106, -0.23593958, -0.2766456, 0.11389051, -0.3029968) * input_2(-1.0, 0.0);
    result += mat4(-0.10449969, -0.07113634, 0.090716064, -0.07647586, 0.007034496, 0.02048696, -0.037000857, -0.018502275, 0.12046153, -0.10669989, 0.13371703, 0.06701776, 0.0869776, -0.010372356, -0.123202465, 0.018879635) * input_2(-1.0, 1.0);
    result += mat4(-0.1527508, 0.054448444, -0.28257483, -0.16605066, -0.017671647, 0.063621975, -0.08338031, -0.026173715, -0.032047864, -0.01647103, -0.12905183, 0.016673617, 0.20178795, 0.17617181, -0.043191098, 0.052794594) * input_2(0.0, -1.0);
    result += mat4(-0.55574673, -0.034442525, -0.34229186, 0.24038614, 0.12696788, 0.2528546, 0.25488973, 0.23043756, 0.1452369, 0.071696304, 0.13898323, -0.022162832, 0.2908521, 0.04526701, 0.40359086, 0.5940718) * input_2(0.0, 0.0);
    result += mat4(0.12995985, -0.1313885, -0.059651975, -0.061646167, 0.05248629, 0.09160752, 0.042965136, 0.10025459, 0.10793993, 0.03452797, -0.0009780853, -0.13628955, -0.07835252, -0.040415406, 0.11861218, -0.144846) * input_2(0.0, 1.0);
    result += mat4(0.25397962, 0.19183664, 0.28213888, 0.24045105, 0.019058656, 0.020435879, -0.03296463, -0.098253004, 0.0044604964, -0.05555859, -0.025407555, -0.036954362, 0.03259194, 0.07975525, -0.15702163, -0.1595275) * input_2(1.0, -1.0);
    result += mat4(-0.0036049953, -0.1409776, -0.06422721, -0.11353964, 0.032041747, 0.003561556, -0.03278432, 0.0010325414, -0.13281403, 0.063531324, -0.18212417, -0.062784664, -0.1368015, -0.0125181535, 0.0022124753, 0.08881823) * input_2(1.0, 0.0);
    result += mat4(0.17438373, 0.08281586, 0.155462, -0.035591193, -0.024646506, 0.00339152, 0.017382054, -0.033558313, 0.10514409, 0.013363731, 0.08719566, -0.037454728, 0.07357563, -0.023992712, 0.035802018, 0.015136249) * input_2(1.0, 1.0);
    result += mat4(0.019634258, -0.01104026, 0.007275008, 0.05429883, 0.08340577, -0.01610112, 0.07220991, 0.0013836825, -0.12442011, -0.16444573, -0.064224996, 0.042749587, 0.11930699, 0.033339407, 0.007170643, -0.06393182) * input_3(-1.0, -1.0);
    result += mat4(-0.085583106, -0.18768474, 0.037373815, -0.03152975, -0.0004457597, -0.0058008763, 0.11385081, -0.12743811, -0.15018822, -0.09505162, -0.15117861, -0.06211898, -0.055879172, -0.03818864, -0.066118225, -0.18234834) * input_3(-1.0, 0.0);
    result += mat4(0.034905553, 0.044828072, 0.01211983, 0.0127344895, 0.039486587, -0.109016396, -0.10143098, -0.0042545404, -0.10178302, 0.010029722, -0.0038102232, 0.04703793, 0.12337724, -0.031336408, -0.07815946, -0.0894267) * input_3(-1.0, 1.0);
    result += mat4(0.041380856, 0.040833518, 0.08306005, 0.0023863176, -0.114587404, 0.03780244, -0.06777946, 0.076458946, -0.11391839, 0.053517472, -0.17271735, -0.04160775, -0.037932415, 0.037527833, -0.2549117, -0.22285308) * input_3(0.0, -1.0);
    result += mat4(0.11431131, -0.06140726, -0.15025492, -0.10491609, 0.037370384, -0.36196417, -0.009986963, -0.07981481, -0.04290256, -0.18284485, -0.14120845, 0.07145835, -0.0044046603, -0.07565728, -0.044574514, 0.00074123044) * input_3(0.0, 0.0);
    result += mat4(0.022419095, 0.09790933, 0.2714535, 0.056113563, 0.005660705, 0.1524138, -0.093953274, -0.20476298, -0.006193979, -0.1196914, -0.10748332, 0.058073673, -0.14391862, 0.0817682, -0.054201625, 0.102381624) * input_3(0.0, 1.0);
    result += mat4(0.0580704, 0.11856264, 0.05909873, 0.10259572, 0.08311272, 0.069086716, 0.015654776, -0.033656824, -0.031781055, -0.05746298, 0.07394068, -0.1554254, 0.0319302, 0.07211355, -0.014706642, -0.02561616) * input_3(1.0, -1.0);
    result += mat4(-0.15656896, -0.035488244, -0.04680673, 0.17452502, -0.2504095, 0.054413382, -0.06206489, 0.20211945, 0.15289332, 0.02122365, -0.09546679, -0.13181652, -0.028571704, -0.027342346, 0.058823045, -0.0625733) * input_3(1.0, 0.0);
    result += mat4(0.02588929, 0.033161737, -0.16031842, -0.11483455, 0.04860063, 0.059974246, -0.09751634, 0.0870389, -0.049820464, 0.073925085, -0.1728241, 0.11751627, -0.083312646, 0.02729136, -0.14978331, 0.05812305) * input_3(1.0, 1.0);
    result += vec4(0.05658758, 0.052352827, 0.062053405, 0.07667589);
    return result;
}

//!DESC [ArtCNN_Legacy_C4F16_YCbCr] (Long-Skip-Conv-6)
//!HOOK NATIVE
//!BIND conv2d_5_tf
//!BIND conv2d_tf
//!BIND conv2d_5_tf1
//!BIND conv2d_tf1
//!BIND conv2d_5_tf2
//!BIND conv2d_tf2
//!BIND conv2d_5_tf3
//!BIND conv2d_tf3
//!SAVE conv2d_7_tf
//!WIDTH NATIVE.w
//!HEIGHT NATIVE.h
//!COMPONENTS 4
//!WHEN OUTPUT.w NATIVE.w 1.200 * > OUTPUT.h NATIVE.h 1.200 * > *
#define input_0(x_off, y_off) ((conv2d_5_tf_texOff(vec2(x_off, y_off)))+(conv2d_tf_texOff(vec2(x_off, y_off))))
#define input_1(x_off, y_off) ((conv2d_5_tf1_texOff(vec2(x_off, y_off)))+(conv2d_tf1_texOff(vec2(x_off, y_off))))
#define input_2(x_off, y_off) ((conv2d_5_tf2_texOff(vec2(x_off, y_off)))+(conv2d_tf2_texOff(vec2(x_off, y_off))))
#define input_3(x_off, y_off) ((conv2d_5_tf3_texOff(vec2(x_off, y_off)))+(conv2d_tf3_texOff(vec2(x_off, y_off))))
vec4 hook() {
    vec4 result = mat4(-0.010394012, 0.038645145, 0.0060457536, 0.03192684, 0.016927974, 0.04101183, -0.0061884564, -0.047248762, 0.0918063, 0.06837769, 0.06570658, 0.1096823, -0.0104193175, -0.062240373, 0.012188138, 0.039913055) * input_0(-1.0, -1.0);
    result += mat4(0.022580508, 0.1459572, 0.020286694, 0.1706188, -0.095010474, -0.029457565, -0.08960155, 0.04548942, -0.10393523, -0.09311959, 0.025266178, -0.077254556, -0.1380871, -0.13640074, -0.020596152, -0.11809255) * input_0(-1.0, 0.0);
    result += mat4(-0.04859898, 0.029177915, -0.080031306, 0.04098678, -0.020060858, -0.03004147, -0.007226059, -0.0012386085, -0.03500796, -0.042533215, -0.109594256, -0.111461364, 0.028608195, 0.03805542, -0.04226373, -0.03703985) * input_0(-1.0, 1.0);
    result += mat4(-0.061393123, -0.00429863, -0.04194045, -0.0023713931, 0.09220587, 0.07333554, 0.06760933, 0.08977836, -0.029321386, 0.04879919, -0.01553283, 0.024529267, -0.03519027, 0.050947037, 0.007312389, -0.03442716) * input_0(0.0, -1.0);
    result += mat4(-0.041229524, -0.08849445, -0.031170132, -0.06548153, -0.06573595, -0.24975373, -0.034790657, -0.13111058, 0.16489297, 0.20816107, 0.14608242, 0.15484053, -0.026790548, 0.0562052, -0.17212431, -0.08969285) * input_0(0.0, 0.0);
    result += mat4(-0.0332692, -0.027789498, -0.033166006, -0.034358494, -0.01907612, -0.06432467, 0.07462683, -0.062174495, -0.018744344, -0.0057858783, -0.02503933, 0.060464468, 0.048455972, 0.06790717, -0.0740639, 0.05483371) * input_0(0.0, 1.0);
    result += mat4(0.023283437, 0.06965447, 0.011300443, 0.06787999, -0.003315687, 0.068775535, 0.008924031, 0.080057606, -0.04654287, -0.11002368, -0.004035814, -0.08351434, 0.1059426, 0.047548518, 0.0853713, 0.09459569) * input_0(1.0, -1.0);
    result += mat4(0.05801565, -0.047805477, 0.0329831, -0.038357083, -0.013398479, -0.009886269, -0.01802862, -0.003625635, 0.030021628, 0.028828453, 0.0388019, 0.0074998257, 0.09260348, 0.04888725, 0.017274389, -0.0713882) * input_0(1.0, 0.0);
    result += mat4(0.022903804, 0.003445268, 0.027813504, -0.0006236628, -0.013033159, -0.022328258, 0.020351734, -0.0038014532, -0.029979495, -0.023337632, -0.052692298, -0.027638145, -0.027525943, 0.007783672, 0.035065737, 0.062473796) * input_0(1.0, 1.0);
    result += mat4(-0.004982145, -0.017577272, 0.0032354237, -0.0026329728, 0.056051802, 0.066968314, 0.04764768, 0.06692245, -0.05025951, -0.09648082, -0.025147662, 0.048978206, -0.08040824, -0.08146689, -0.0059199953, -0.044482335) * input_1(-1.0, -1.0);
    result += mat4(-0.036513615, -0.012012258, -0.07960657, -0.05741355, 0.123286635, 0.12927483, 0.048377555, 0.068382904, -0.028664403, 0.018083323, 0.16409516, -0.01708891, -0.002627594, 0.077094235, -0.0104979975, 0.020812076) * input_1(-1.0, 0.0);
    result += mat4(-0.026837587, 0.005184332, 0.02216764, 0.054037683, -0.03246995, -0.02260947, 0.01887238, 0.041001666, -0.025000138, 0.08014873, -0.03754037, 0.0760253, -0.021990431, 0.015818475, -0.018838085, 0.03609229) * input_1(-1.0, 1.0);
    result += mat4(0.023843639, 0.031185769, 0.013343926, 0.02532423, -0.12314056, -0.04137766, 0.006791897, 0.057734646, 0.0016531625, -0.02240483, -0.020254578, -0.08202767, -0.0066538868, 0.018430715, -0.036845587, 0.06893945) * input_1(0.0, -1.0);
    result += mat4(0.04131193, -0.012204876, -0.037546527, -0.018837929, -0.24877569, -0.19348662, -0.27836388, -0.28457868, 0.13130957, 0.18996933, 0.11012974, 0.18800141, 0.0315542, 0.06247218, -0.093575805, -0.10883411) * input_1(0.0, 0.0);
    result += mat4(0.10281823, 0.03563848, 0.16164385, -0.016907388, -0.020167826, -0.034857202, -0.10568603, -0.14976148, -0.16408008, -0.059236735, -0.09919777, 0.15995896, -0.00952058, -0.045818586, -0.03255823, -0.017019413) * input_1(0.0, 1.0);
    result += mat4(-0.1324891, 0.023199776, -0.07163646, 0.048483517, -0.050213214, -0.020165848, 0.035489712, 0.094153985, -0.037256364, 0.04137608, -0.045472838, -0.021829572, -0.0020558718, 0.011443473, -0.04196428, -0.043190982) * input_1(1.0, -1.0);
    result += mat4(-0.07452493, 0.03615363, -0.20401889, -0.06343433, -0.1172032, 0.0010898112, -0.17733097, -0.1523854, 0.17141996, 0.09979983, 0.07223125, 0.15528426, -0.0030205897, -0.04060838, -0.0031148305, -0.05336809) * input_1(1.0, 0.0);
    result += mat4(0.068787515, 0.09036065, 0.08528702, 0.11966178, -0.011463669, 0.0066298777, -0.0559608, -0.015133213, 0.10216929, 0.029493876, 0.13218859, 0.011410311, -0.05163535, -0.0470825, -0.029730823, 0.001653215) * input_1(1.0, 1.0);
    result += mat4(0.02937995, 0.039430726, 0.021149, -0.004713624, 0.075913765, -0.029072987, 0.08580201, -0.0043859193, -0.06961055, -0.03214915, -0.06811778, -0.06474561, -0.06485391, -0.046423502, -0.025385134, -0.031359013) * input_2(-1.0, -1.0);
    result += mat4(-0.0090060495, -0.0066624675, -0.01151889, 0.027808731, -0.078923605, 0.0073921764, 0.02596653, -0.01839727, -0.02018141, -0.017116355, 0.042441797, 0.04013715, -0.056882232, -0.13028307, -0.050870568, -0.09026766) * input_2(-1.0, 0.0);
    result += mat4(-0.071458995, -0.09915571, -0.0390762, -0.05248645, -0.0071623647, 0.058675062, 0.014430464, 0.09392143, -0.02429479, -0.08320265, -0.06316068, -0.06388616, -0.030046647, -0.0817797, -0.044303782, -0.13278848) * input_2(-1.0, 1.0);
    result += mat4(0.11453058, 0.18093021, 0.039977767, 0.12817791, -0.07622296, -0.07120564, 0.07291515, 0.026834553, -0.08406625, 0.081673466, -0.17568861, 0.075360656, -0.044051602, -0.01649634, -0.07977944, 0.022703592) * input_2(0.0, -1.0);
    result += mat4(0.27498809, 0.29054576, 0.13550629, 0.24911617, -0.05893701, -0.114988126, -0.102221325, 0.016387489, -0.0036133088, 0.06774866, -0.097679764, -0.007825857, 0.2527048, 0.2594022, 0.21167694, 0.13873501) * input_2(0.0, 0.0);
    result += mat4(-0.042652015, -0.029643985, 0.11930989, 0.10737499, -0.06114966, -0.07345637, -0.04159133, -0.09977588, 0.106794246, 0.09106088, -0.03936395, -0.069877796, 0.11977158, 0.12992527, 0.031823937, 0.08862732) * input_2(0.0, 1.0);
    result += mat4(-0.04248929, 0.024264487, -0.03488331, 0.009306685, 0.017317958, 0.108388625, -0.039345726, 0.062001355, -0.044329777, 0.015413596, -0.07384096, -0.0501758, 0.0019659528, -0.0031877419, -0.016902331, -0.035340194) * input_2(1.0, -1.0);
    result += mat4(-0.102379106, 0.057000406, -0.06273511, 0.13877122, -0.05605551, -0.09069683, -0.070723735, -0.062101487, -0.097487025, 0.09026394, -0.16066213, 0.029030243, 0.0058363616, 0.07892688, 0.01938786, 0.060766112) * input_2(1.0, 0.0);
    result += mat4(0.06349634, -0.0053009745, 0.021320743, -0.04418452, -0.033004075, -0.036572307, 0.025957333, 0.06028899, 0.13908565, 0.09512461, 0.062487394, 0.0002799076, 0.032813028, 0.039210398, -0.022493903, 0.0060578524) * input_2(1.0, 1.0);
    result += mat4(0.004772051, -0.009930869, 0.03264457, -0.0047386843, -0.09421671, 0.00069236016, 0.003540783, 0.030538242, -0.078674436, -0.17146838, 0.05816218, -0.14307824, -0.029429406, -0.06856211, 0.030952692, 0.05298889) * input_3(-1.0, -1.0);
    result += mat4(-0.12216038, -0.10733529, -0.11890493, -0.07205682, -0.05808727, 0.054297823, -0.049359728, 0.042139575, -0.012926239, 0.040287323, 0.031824347, 0.046998527, -0.0065547135, 0.045363605, 0.114106424, -0.03956024) * input_3(-1.0, 0.0);
    result += mat4(0.015894158, -0.02262448, -0.020976726, -0.013025321, 0.039516766, 0.04728721, -0.08269374, -0.01702181, -0.03458961, 0.052543778, -0.034702525, 0.08922539, -0.016606834, 0.091807045, -0.03974211, 0.07682343) * input_3(-1.0, 1.0);
    result += mat4(-0.07282798, -0.02438042, 0.080680355, 0.03867267, -0.08047069, -0.13798153, -0.0096598705, -0.025050262, -0.031280696, 0.007199212, -0.19859871, 0.041082077, -0.00441199, -0.059633497, 0.14147528, 0.036447033) * input_3(0.0, -1.0);
    result += mat4(-0.46461, -0.4371199, -0.46765497, -0.4151442, 0.060673553, -0.04812788, -0.019986652, -0.20687498, -0.1591723, -0.21162182, -0.1046225, -0.18361096, -0.08862103, 0.043653164, 0.05491682, 0.11995416) * input_3(0.0, 0.0);
    result += mat4(0.056966346, 0.05669635, -0.08222372, -0.06571481, 0.0696753, 0.083661035, -0.060560197, -0.027082438, -0.057090845, -0.046422165, -0.010396395, 0.06328701, -0.040113863, 0.031943716, -0.18024266, 0.033797726) * input_3(0.0, 1.0);
    result += mat4(0.1254642, 0.031029677, 0.09936152, 0.07108516, 0.09833243, 0.03786936, 0.064657666, 0.049265657, -0.15269448, -0.04506204, -0.16119547, -0.14973815, 0.06271803, 0.05158271, 0.046966705, 0.09612086) * input_3(1.0, -1.0);
    result += mat4(0.18815787, -0.005303324, 0.18694162, 0.033671476, 0.11060701, -0.023403239, 0.13780737, 0.043688282, -0.038295772, -0.10871194, 0.021966873, 0.13736035, 0.074788384, -0.13304146, 0.07973084, -0.15529971) * input_3(1.0, 0.0);
    result += mat4(0.09607794, 0.062450677, 0.11911071, -0.011397801, 0.04241173, -0.012701045, 0.07468466, -0.04578819, -0.037124243, -0.056483325, 0.0058439085, -0.09945295, -0.077041306, -0.05559856, -0.06888044, -0.023831373) * input_3(1.0, 1.0);
    result += vec4(0.06213492, 0.061076563, 0.06023727, 0.06402701);
    return result;
}

//!DESC [ArtCNN_Legacy_C4F16_YCbCr] (Long-Skip-Conv-6)
//!HOOK NATIVE
//!BIND conv2d_5_tf
//!BIND conv2d_tf
//!BIND conv2d_5_tf1
//!BIND conv2d_tf1
//!BIND conv2d_5_tf2
//!BIND conv2d_tf2
//!BIND conv2d_5_tf3
//!BIND conv2d_tf3
//!SAVE conv2d_8_tf
//!WIDTH NATIVE.w
//!HEIGHT NATIVE.h
//!COMPONENTS 4
//!WHEN OUTPUT.w NATIVE.w 1.200 * > OUTPUT.h NATIVE.h 1.200 * > *
#define input_0(x_off, y_off) ((conv2d_5_tf_texOff(vec2(x_off, y_off)))+(conv2d_tf_texOff(vec2(x_off, y_off))))
#define input_1(x_off, y_off) ((conv2d_5_tf1_texOff(vec2(x_off, y_off)))+(conv2d_tf1_texOff(vec2(x_off, y_off))))
#define input_2(x_off, y_off) ((conv2d_5_tf2_texOff(vec2(x_off, y_off)))+(conv2d_tf2_texOff(vec2(x_off, y_off))))
#define input_3(x_off, y_off) ((conv2d_5_tf3_texOff(vec2(x_off, y_off)))+(conv2d_tf3_texOff(vec2(x_off, y_off))))
vec4 hook() {
    vec4 result = mat4(0.012867636, -0.0045133713, 0.01512646, -0.010769512, -0.09804272, -0.04332241, -0.14717595, -0.07926969, -0.12464985, -0.14922822, -0.14064367, -0.16506769, -0.06924339, -0.029798485, 0.09269363, 0.025680618) * input_0(-1.0, -1.0);
    result += mat4(-0.015443906, 0.13771415, -0.019225817, 0.13861893, 0.07712829, 0.09388521, -0.035241045, 0.134722, 0.16039537, 0.051063363, 0.021623917, -0.109018154, 0.019027637, 0.03833842, -0.11235417, -0.018571667) * input_0(-1.0, 0.0);
    result += mat4(-0.013599454, 0.053121276, 0.016188422, 0.065218955, 0.017355157, 0.1008964, 0.049631868, 0.0856654, 0.072927706, 0.004087006, 0.09011325, 0.033850953, 0.0376036, -0.01916925, -0.015489817, -0.11769818) * input_0(-1.0, 1.0);
    result += mat4(-0.05479444, -0.008803844, 0.07662897, 0.027559271, -0.15966815, -0.13899522, -0.13826548, -0.1677936, 0.019869236, 0.021503817, -0.03291115, 0.00041818255, -0.031275865, -0.22101556, -0.05572325, -0.05642282) * input_0(0.0, -1.0);
    result += mat4(-0.11661305, -0.13128701, -0.10368782, -0.18406868, 0.13490513, 0.14011948, 0.11734935, -0.050724085, 0.20786461, 0.2512153, 0.1457721, 0.18458526, 0.018238984, -0.17748214, -0.13435492, -0.34050944) * input_0(0.0, 0.0);
    result += mat4(-0.036933713, -0.07359965, -0.076082885, -0.04028403, 0.025992522, 0.06992861, 0.06611656, 0.06479789, 0.031969454, -7.499191e-05, 0.06218535, 0.019240983, -0.023227492, -0.04506216, 0.0018636616, 0.05678489) * input_0(0.0, 1.0);
    result += mat4(-0.024348741, 0.026561085, 0.04013341, 0.0669977, 0.016134148, -0.040390383, 0.07336439, 0.04191452, 0.020989016, 0.002614217, 0.032900218, 0.029144457, -0.06912213, -0.010781468, -0.026691282, -0.06184568) * input_0(1.0, -1.0);
    result += mat4(0.008225956, 0.021217745, -0.032260507, -0.03498477, -0.07351938, 0.012669628, -0.10337299, -0.04296213, -0.1100747, 0.01209264, -0.10429801, -0.059565566, -0.054346148, 0.01250992, -0.046657402, 0.0015598998) * input_0(1.0, 0.0);
    result += mat4(-0.0047428748, -0.05145827, 0.01975826, -0.04490959, 0.012371524, 0.033670634, -0.041709904, 3.8726153e-05, 0.032473672, 0.03440839, 0.02626443, 0.06463542, 0.020939086, -0.0568951, 0.019150868, 0.0020923351) * input_0(1.0, 1.0);
    result += mat4(0.014709643, -0.015504645, 0.021304576, -0.03375204, 0.09128179, -0.04537312, 0.07764331, -0.03734528, 0.08148553, 0.08605651, 0.12764093, 0.106257625, 0.0011765241, -0.06941059, -0.0065875803, -0.006622361) * input_1(-1.0, -1.0);
    result += mat4(-0.07075146, -0.1380781, 0.14449567, 0.033641938, 0.0062795775, -0.10259809, 0.10370852, -0.10283769, 0.04731228, 0.05124958, 0.008515393, -0.0779956, 0.14264117, 0.09878341, 0.13018891, 0.0049672136) * input_1(-1.0, 0.0);
    result += mat4(0.03906183, -0.07129648, 0.00325188, -0.09837795, 0.035066195, -0.027396547, 0.116058275, -0.095540576, 0.08101785, -0.13713284, 0.07779202, -0.028086172, 0.04091338, -0.025477711, -0.012289621, -0.058367547) * input_1(-1.0, 1.0);
    result += mat4(-0.04580736, 0.010584491, -0.054649994, -0.030501219, 0.06261665, 0.22715387, 0.07050048, 0.09568455, 0.14098704, -0.087884665, 0.17128979, 0.06694811, 0.023844188, 0.059578843, 0.05132172, 0.036709875) * input_1(0.0, -1.0);
    result += mat4(-0.038051113, -0.09550864, -0.012680778, 0.22629027, 0.11233481, 0.15582459, 0.001858274, 0.17718145, 0.012793978, 0.0630199, 0.1494931, 0.012561946, 0.28426105, 0.32263196, 0.22511902, 0.29272124) * input_1(0.0, 0.0);
    result += mat4(0.11206739, 0.113258004, -0.004803437, -0.07904662, -0.0051495796, 0.0052274927, 0.021389171, 0.12849322, 0.039393067, 0.12949231, 0.0074856034, 0.07833299, 0.10978932, 0.092496686, 0.21832281, 0.18279657) * input_1(0.0, 1.0);
    result += mat4(0.07689571, 0.06388243, 0.09644128, 0.045673553, 0.014989008, 0.013594651, -0.034968678, -0.033965003, -0.0558823, 0.11606917, 0.0025696268, 0.012126689, -0.10796383, -0.07950043, -0.0689958, -0.05862508) * input_1(1.0, -1.0);
    result += mat4(0.0072166156, -0.1024864, 0.10068152, 0.041351177, -0.085185006, 0.025378063, -0.12481469, -0.022304123, 0.0915563, -0.06300997, 0.10096948, 0.193249, 0.009973549, 0.09930504, -0.04313943, 0.027302356) * input_1(1.0, 0.0);
    result += mat4(0.06892745, 0.042316332, -0.04147799, 0.0061006066, -0.08236231, -0.0043525253, -0.1272289, -0.019394847, 0.11972503, -0.018805819, 0.09364367, 0.045833126, 0.0008277159, 0.006781137, 0.012484746, 0.06594555) * input_1(1.0, 1.0);
    result += mat4(-0.039516058, -0.08249374, -0.01953636, -0.05895761, -0.18100266, -0.1479792, -0.15741538, -0.10412258, -0.010749887, -0.092950076, 0.049657576, -0.030168822, 0.0011099689, -0.081593044, -0.060290545, -0.060723606) * input_2(-1.0, -1.0);
    result += mat4(0.045604944, 0.10580171, -0.04366361, -0.048239682, 0.089725964, -0.048233524, 0.0010899778, -0.1451953, 0.0476526, 0.112037554, -0.054204706, -0.0029894423, 0.11397026, 0.03820464, 0.06418696, -0.028909046) * input_2(-1.0, 0.0);
    result += mat4(-0.012270032, 0.116083466, -0.024650687, 0.1215471, 0.053930502, -0.04356979, -0.01169854, -0.0024592993, 0.11141297, 0.1295579, 0.18650647, -0.02368383, 0.06543277, 0.04323047, 0.07292306, -0.057226565) * input_2(-1.0, 1.0);
    result += mat4(-0.03704168, 0.07191086, 0.06967234, 0.03182895, -0.008135971, -0.09505431, -0.13849379, -0.13818318, -0.1032305, 0.07980414, 0.05101854, -0.036226757, 0.005021907, 0.11579178, -0.00037120542, -0.06706357) * input_2(0.0, -1.0);
    result += mat4(-0.3632651, -0.21257366, -0.2707372, -0.14968711, -0.022114776, 0.15025377, -0.10921918, 0.14815262, -0.110802755, -0.07728949, -0.13210927, -0.06781452, 0.19386238, 0.1427234, 0.12885939, 0.1509507) * input_2(0.0, 0.0);
    result += mat4(-0.08012552, -0.066432916, -0.10922258, -0.13722317, -0.016325964, 0.09691641, -0.018270375, 0.0022742942, -0.17773275, 0.01940051, -0.085682034, 0.16887078, -0.0730918, -0.07117437, -0.035773154, 0.018294381) * input_2(0.0, 1.0);
    result += mat4(0.06827977, 0.057224866, -0.030307654, -0.04343303, -0.03923757, -0.060774077, 0.067172356, -0.008548941, 0.021824436, 0.01746223, -0.09754741, -0.07291388, -0.020946339, -0.036452375, -0.039155714, -0.050890137) * input_2(1.0, -1.0);
    result += mat4(0.18028465, -0.059990168, 0.103391886, 0.051378563, 0.11074782, 0.080431454, 0.16012153, 0.041691467, 0.07746073, -0.11621992, -0.021023098, -0.020741807, 0.006596648, 0.015467667, -0.073782064, -0.06689429) * input_2(1.0, 0.0);
    result += mat4(0.09903341, 0.055235043, 0.14083332, 0.063096985, 0.12110287, -0.012357343, 0.115343705, 0.04257115, -0.013242578, -0.040418245, 0.015298569, 0.033706415, -0.016917085, -0.013974462, -0.011684198, 0.028748015) * input_2(1.0, 1.0);
    result += mat4(-0.044321287, -0.022123987, 0.027584871, 0.020374026, 0.16888787, -0.0031036534, 0.069755495, -0.0061438605, -0.0688609, -0.12610134, -0.11320196, -0.06856893, 0.073709056, 0.009720655, 0.08895061, 0.05187714) * input_3(-1.0, -1.0);
    result += mat4(0.004267366, 0.062772505, 0.078455836, 0.03239324, -0.018090477, -0.09481892, 0.042060055, -0.042357698, -0.003645591, -0.047919933, -0.11288851, -0.13329433, -0.051721312, -0.08851192, -0.03319316, -0.06424106) * input_3(-1.0, 0.0);
    result += mat4(-0.009121415, 0.029364863, -0.04896037, -0.0121184215, 0.030521257, -0.030668383, 0.115920044, -0.10376622, -0.028100243, -0.08680887, 0.04457027, 0.061565362, 0.13937317, -0.05523837, 0.0804976, -0.07390347) * input_3(-1.0, 1.0);
    result += mat4(0.120698586, -0.021289388, 0.02056731, -0.0027893195, 0.09718555, 0.22263215, 0.13189073, 0.1879915, -0.0958215, -0.116260946, -0.00186449, -0.06289312, -0.008606935, -0.1307866, 0.0967921, 0.0887237) * input_3(0.0, -1.0);
    result += mat4(0.0966515, 0.0472259, 0.26426095, 0.15823555, -0.28758088, -0.20902024, -0.2674736, -0.19459057, -0.085998625, -0.01823813, -0.12250833, -0.20628233, -0.08502349, -0.12212113, -0.14580046, -0.16367157) * input_3(0.0, 0.0);
    result += mat4(-0.0535892, 0.023469616, -0.07310002, 0.014522306, -0.10123024, -0.03430307, -0.0524636, 0.1518554, 0.024722857, 0.05829452, 0.10220128, 0.012654106, 0.039107986, -0.063477196, -0.07952318, -0.052713208) * input_3(0.0, 1.0);
    result += mat4(0.020699494, 0.10078411, -0.031236988, -0.004046813, -0.053552285, -0.0007590568, 0.0029311937, 0.056332387, -0.085754886, -0.1366115, 0.10428882, 0.0924679, -0.079075225, -0.012367842, 0.040136885, 0.037921444) * input_3(1.0, -1.0);
    result += mat4(-0.014617615, -0.08981744, 0.057246596, 0.15896131, -0.035468005, 0.023275692, -0.0783203, -0.070190765, 0.024657525, -0.05427388, 0.016940711, -0.09080144, -0.044413637, 0.08264483, -0.010653833, -0.05329503) * input_3(1.0, 0.0);
    result += mat4(-0.05024257, -0.044901025, -0.011819508, -0.09970966, -0.033909805, -0.059040055, 0.008606964, -0.008044506, 0.04050729, -0.030024912, -0.040635265, 0.020849487, -0.0007313369, -0.040977675, 0.026741918, 0.02895354) * input_3(1.0, 1.0);
    result += vec4(0.05580286, 0.0630275, 0.052145228, 0.052399952);
    return result;
}

//!DESC [ArtCNN_Legacy_C4F16_YCbCr] (Pixel-Shuffle)
//!HOOK NATIVE
//!BIND conv2d_6_tf
//!BIND conv2d_7_tf
//!BIND conv2d_8_tf
//!WIDTH NATIVE.w 2 *
//!HEIGHT NATIVE.h 2 *
//!COMPONENTS 4
//!WHEN OUTPUT.w NATIVE.w 1.200 * > OUTPUT.h NATIVE.h 1.200 * > *
vec4 hook() {
    vec4 output_pix = vec4(0.0, 0.0, 0.0, 1.0);
    vec2 f0 = fract(conv2d_6_tf_pos * conv2d_6_tf_size);
    ivec2 i0 = ivec2(f0 * vec2(2.0));
    output_pix.x = conv2d_6_tf_tex((vec2(0.5) - f0) * conv2d_6_tf_pt + conv2d_6_tf_pos)[i0.y * 2 + i0.x];
    output_pix.y = conv2d_7_tf_tex((vec2(0.5) - f0) * conv2d_7_tf_pt + conv2d_7_tf_pos)[i0.y * 2 + i0.x];
    output_pix.z = conv2d_8_tf_tex((vec2(0.5) - f0) * conv2d_8_tf_pt + conv2d_8_tf_pos)[i0.y * 2 + i0.x];
    return clamp(output_pix, 0.0, 1.0);
}
